-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Fix parse value when format has not year (MM-dd) #107
Conversation
I should've mentioned, this screen recording is just from https://date-picker-svelte.kasper.space - not from your PR. |
The issue is when we set the value manually and clean the input. Steps to reproduce: 1. select a value using date picker 2. clean the value manually 3. set the value manually |
Ah I see |
issue.mp4 |
@probablykasper is it possible to have this fix this week? |
What you're doing with The issue just that it defaults to 2020 when no year is supplied instead of using the current year, right? |
Let say, we have a min date 2020-01-01 and max date 2022-12-31 but current year is 2024. These is the reason I am using min date to set basedate |
I don't really see that making sense for most use cases. I'll make it default to the current year |
No description provided.