Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting a default date issue #142

Closed
hoonblizz opened this issue Nov 30, 2021 · 1 comment
Closed

Setting a default date issue #142

hoonblizz opened this issue Nov 30, 2021 · 1 comment

Comments

@hoonblizz
Copy link

hoonblizz commented Nov 30, 2021

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
Copy link
Author

Sorry, I missed the prop selected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant