frontend icon indicating copy to clipboard operation
frontend copied to clipboard

DateTime picker first day of week should follow locale

Open koying opened this issue 3 years ago • 8 comments

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

  1. Set my language to French
  2. Go to logbook and open datetime picker
  3. 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

koying avatar Dec 19 '21 09:12 koying

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.

github-actions[bot] avatar Mar 19 '22 10:03 github-actions[bot]

The issue still exists

seanomat avatar Mar 19 '22 11:03 seanomat

Still exists in 2022.4.4

mundschenk-at avatar Apr 17 '22 08:04 mundschenk-at

Same issue in 2022.5.5

TTLucian avatar May 19 '22 12:05 TTLucian

This issue has now extended to input_datetime as well

seanomat avatar Jun 07 '22 09:06 seanomat

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.

github-actions[bot] avatar Sep 17 '22 13:09 github-actions[bot]

Still an issue.

slovdahl avatar Sep 17 '22 13:09 slovdahl

@bramkragten @piitaya @emontnemery Unfortunately this is still an issue. Do you think this can be fixed?

larena1 avatar Sep 21 '22 21:09 larena1

There is not yet a reliable generic way to get the correct value, see https://github.com/home-assistant/frontend/issues/12635#issuecomment-1121469639

spacegaier avatar Oct 03 '22 21:10 spacegaier

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.

chocomega avatar Oct 04 '22 13:10 chocomega

Similar issue #13789

chocomega avatar Oct 04 '22 13:10 chocomega

@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?

larena1 avatar Oct 27 '22 14:10 larena1

It will be fixed in the next beta 🙂

piitaya avatar Oct 27 '22 14:10 piitaya