Setting a default date issue
Closed this issue · 1 comments
hoonblizz commented
I set a default value like,
$store.selected = new Date(1615250820000); // Mon Mar 08 2021 19:47:00 GMT-0500 (Eastern Standard Time)
Then, I can clearly see that the calendar is paging up to the 8th of March.
The issue is, the month header stays on today's month. (like November)
The day is staying right. So it looks like 8th of November.
What am I missing?
I'm using inline calendar.
<InlineCalendar bind:store {theme} />
hoonblizz commented
Sorry, I missed the prop selected