-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
Sunrise sunset time in AM/PM format. How to change to 24HR format? #3
Comments
Mine is shown in 24-hr format, not sure if it's fixed, or it is just using the setting in HA? |
Same "issue". Italian language. |
same here |
Same issue here. Log book and History in HA are all 24H times. Only this weather card seems to be showing in AM/PM |
Same here, can't find setting to change it. |
Same here, also the wind direction is shown in English while the weekdays are shown in Dutch. I set Dutch as my language for HA. |
Same issue here, with AM/PM. What to do? :-) |
Not sure it is the fault of this card as I have seen the same issue in more places, but until it is fixed it is possible to locally do a workaround. In the file weather-card.js the string toLocaleTimeString() are in two places, edit it to contain you selected country code, for me that is toLocaleTimeString('sv-SE'). You need to do the same to the file inside the archive (weather-card.js.gz) |
The AM/PM is a Home Assistant "feature" - It has to do with your browser/OS-setting. (try fiddling with it, hopefully it will work) Look at the original weather card - it also has the AM/PM ;-) |
Hi,
How can I change for sunrise and sunset time to be in 24-HR format.
Currently I have AM/PM format.
My HA interface is in Slovenian language. Using DarkSky.
The text was updated successfully, but these errors were encountered: