Frontend: Input Datetime 24h format not correct

Created on 14 Dec 2018  路  16Comments  路  Source: home-assistant/frontend

@CookieMonster87 commented on Mar 16, 2018, 1:01 PM UTC:

Input_Datetime does show time in 12h format AM/PM. System time, history time, sensor.time etc. are all in 24h format.

On the time input I can use 24h format but the value is converted to 12h format.

Home Assistant 0.65.5
Hass.io 1.3/0.98

This issue was moved by cgarwood from home-assistant/home-assistant#13262.

date-time-picker stale

All 16 comments

@balloobbot commented on May 29, 2018, 12:44 PM UTC:

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 馃憤

@CookieMonster87 commented on May 29, 2018, 12:47 PM UTC:

Still same issue on 0.70.
The input datetime is working just a display issue for 24h format.

@alvarea commented on Aug 20, 2018, 8:23 AM UTC:

Hello,
The issue still there on 0.75.3. Just to be informed on updates. Thanks!

@large commented on Sep 2, 2018, 7:15 PM UTC:

Still an issue on v0.77.2, all dates are presented as AM/PM even my locale/browser/HA language is my native, Norwegian.

@alvarea commented on Sep 3, 2018, 7:17 AM UTC:

Hi, Fortunately I think it's solved. I've upgraded to 0.76.2 and now all input_datetames objects appear as 24H. I'm using safari.

@CookieMonster87 commented on Sep 3, 2018, 7:49 AM UTC:

Still not correct here when using English as language. If I change to Norwegian and force a browser refresh the AM/PM is text is removed so is then correct. Not all English location use AM/PM so this should be corrected to only show when needed based on browser locale like the history graphs etc do. What happens now is that the input datetime use 24H format with AM/PM text.

@large commented on Sep 3, 2018, 8:00 AM UTC:

Very strange that you are able to get it to change. On my browser (Firefox) it does not work at all. In Edge it seems to work fine, see case home-assistant/home-assistant-polymer#1629

I also removed english as language under Firefox and it still shows AM/PM.

Chrome on mobile works as expected, so I belive it is a browser issue.

@CookieMonster87 commented on Sep 3, 2018, 8:11 AM UTC:

I dont use Firefox, only Opera and Chome. So most likely a browser issue to for Firefox.

@JeroenvO commented on Nov 3, 2018, 10:26 AM UTC:

Still an issue in firefox (and not in edge) in 0.81.1

Still an issue with 0.86.1
Using Chrome with English language

I have same issue. And history page has graphs in 24H format, but all graph cards have AM/PM :/

Ver: 0.86.4

Is this under investigation ? Clearly getting this info from browser doesnt work ?

@Tontze we have like 3 active volunteers on this project; working in their free-time. You have to have patience.

And we love your work iantrich :-)

If my javascript/php skills were better, I would fix it myself. Clearly this is not consistent between browser and probable languagesetup local on the computer. Tested in firefox ubuntu and it seems to work there, so it could be a hard nut to crack 馃檮

@iantrich sry for being too hasty...

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 now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SeanPM5 picture SeanPM5  路  3Comments

Misiu picture Misiu  路  3Comments

Depechie picture Depechie  路  3Comments

TheZoker picture TheZoker  路  3Comments

SeanPM5 picture SeanPM5  路  4Comments