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
WebUI: Fix misinterpretation of the date picker #4184 #4186
WebUI: Fix misinterpretation of the date picker #4184 #4186
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is .... o.O
seems suspicious to me since date -> str functions in JavaScript are locale-controlled and this might be switched in FR/EN |
On my default Firefox (US), it creates this for December 7:
If I change my browser language and locale to DE, it creates |
Use "$.datepicker.setDefaults( $.datepicker.regional[ "ISO_8601" ] );" instead
This forces the locale for the datepicker, regardless what the browser wants. See here: https://api.jqueryui.com/datepicker/#method-option |
it will return the date as Edit: split is not needed anymore instead, which is even better |
Ping, what's the status here? |
I’ll come back to this after things calm down. :D |
Another ping 🛎️ 😄 |
Replaced with #4556 (patch instead of feature). |
No description provided.