-
Notifications
You must be signed in to change notification settings - Fork 118
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
[FR] Changeable Timestamp format #9
Comments
Are you setting the timestamp format in homeassistant somewhere? |
No, i think it's a part of the localisation. |
Can you give me an example of where you see the date formatted correctly in homeassistant? I thought I was already using the function for a localized date string. |
Where do you configure that in homeassistant? |
I think the frontend language belongs to the user settings: click on your username on the bottom-left corner. I didn't (I think, I can't) change the date format: just selected my language. |
I am also interested in being able to have the 24h time format. I use English (GB) localisation in HA and the time format within HA is correct. For example, in the "History" view (start and end date picker). |
I'd live to have this as well and now there really is a specific place for time format settings: https://www.home-assistant.io/blog/2021/06/02/release-20216/#time-format-settings |
I've recently started contributing to this integration -- and this bug is something I am absolutely going to work on. I'm currently working on unittests for the whole thing, and literally right now for |
Test Coverage #9: views.py (100% edition)
I think we should close this bug for now. The now merged PR changes to ISO 8601 dates and time formats to 24h which is about as reasonable a default as you can get on something subjective like this, and will feature in the next release. There is possible avenues (at a cost of additional complexity) to add a config flow option to support a custom time/date format, but given the new default I'm not sure that's actually worth it. |
As per comment above, closing this for now. If, even with the new time/date defaults, someone wants to make a case for the "additional complexity" avenues, we can re-open/re-discuss. Thanks! |
Is your feature request related to a problem? Please describe.
Currently the date time format of the media browser is displaying the values not in 24h Format or DD.MM.YYYY.
Describe the solution you'd like
Use the timestamp format of Home assistant.
Describe alternatives you've considered
No alternative solution, I think.
Additional context
The text was updated successfully, but these errors were encountered: