weather-card icon indicating copy to clipboard operation
weather-card copied to clipboard

Time format does not follow Home assistant settings

Open martkopecky opened this issue 2 years ago • 3 comments

The time format for sunrise, sunset and hourly forecast uses Home Assistant language to determine the time format to be shown. Modify the card to follow time format selected in Home Assistant config. (i.e. add proper ability to use English with 24h time format for sunrise, sunset and hourly forecast).

martkopecky avatar May 11 '22 09:05 martkopecky

Any update on this one?

Hubszo avatar Feb 11 '23 15:02 Hubszo

The AM/PM notation is not common here in Europe, please fix.

dingetje avatar Apr 01 '24 16:04 dingetje

The timezone is not set in the function toLocaleTimeString You can add it by your self "hard-coded" in the .js file.

toLocaleTimeString( lang, { timeZone: 'Europe/Brussels', hour: "2-digit", minute: "2-digit", }

fierske avatar Sep 18 '24 18:09 fierske