WickyNilliams / cally

Small, feature-rich calendar components
https://wicky.nillia.ms/cally/
MIT License
1.06k stars 12 forks source link

Doc issue with second example #10

Closed cfjedimaster closed 2 months ago

cfjedimaster commented 2 months ago

On the home page, after the example on top, there is a Single Date section with text:

For a single date, use the <calendar-date> component, and place inside it a <calendar-month> component.

And then the next section is Date Range (https://wicky.nillia.ms/cally/#date-range) and it has the same text + sample code.

WickyNilliams commented 2 months ago

Thanks. That'll teach me not to copy and paste sections 😅 if you fancy making a PR the docs are under the /docs folder. Otherwise I'll fix tomorrow

cfjedimaster commented 2 months ago

I was curious what the syntax was, so, I don't know what the fix is. ;) But I'll take a quick look see.

WickyNilliams commented 2 months ago

I think it should just read

For a date range, use the <calendar-range> component, and place inside it a <calendar-month> component.

cfjedimaster commented 2 months ago

Did you fix it already? I'm looking now and it looks right. It's possible I didn't read clearly as well.

cfjedimaster commented 2 months ago

Oh heh, yeah, it says 'for a single date'. Yes, I can do a quick pr.