frontend
frontend copied to clipboard
DateTime picker first day of week should follow locale
Checklist
- [X] I have updated to the latest available Home Assistant version.
- [X] I have cleared the cache of my browser.
- [X] I have tried a different browser to see if it is related to my browser.
Describe the issue you are experiencing
The datetime picker has Sunday as the first day of week
Describe the behavior you expected
The datetime picker should follow my locale or, if not possible, fallback to ISO 8601 value of Monday
Steps to reproduce the issue
- Set my language to French
- Go to logbook and open datetime picker
- See that first day of week is Sunday ...
What version of Home Assistant Core has the issue?
2021.12.3
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
No response
Which operating system are you using to run this browser?
No response
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The issue still exists
Still exists in 2022.4.4
Same issue in 2022.5.5
This issue has now extended to input_datetime as well
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Still an issue.
@bramkragten @piitaya @emontnemery Unfortunately this is still an issue. Do you think this can be fixed?
There is not yet a reliable generic way to get the correct value, see https://github.com/home-assistant/frontend/issues/12635#issuecomment-1121469639
I guess the best would be a setting in user's profile for the first day of the week regardless of the locale just like number format and time format settings. Then later add the option "auto" when the generic way to get the value from the locale is implemented.
Similar issue #13789
@piitaya using the this / last week action of the calendar in logbook and history does still start the week on Sunday instead of what was set in profile. Is that intended?
It will be fixed in the next beta 🙂