WickyNilliams/cally

Doc issue with second example

Closed this issue · 5 comments

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.

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

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

I think it should just read

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

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

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