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

Midnight shows as 24:00 Rather than 0:00

Open MankiniChykan opened this issue 1 year ago • 3 comments

Describe the bug Midnight shows as 24:00 on main clock

Expected behavior Midnight to show as 0:00

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot_20240304-000413

MankiniChykan avatar Mar 07 '24 20:03 MankiniChykan

Please check if other cards with a clock have the same behavior, looks like a HA locale issue.

mlamberts78 avatar Mar 07 '24 21:03 mlamberts78

Please check if other cards with a clock have the same behavior, looks like a HA locale issue.

Will do, will have to wait till midnight.

MankiniChykan avatar Mar 07 '24 21:03 MankiniChykan

@mlamberts78 My Home Assistant Server lives in Tasmania GMT+11 and I am currently working in Western Australia GMT+8 with a three hour time difference. Is the card reading the time from the device that is being used? I have noticed that if I use the companion app or log into a computer browser that the card seems to be showing the local time of the devices I am using in WA, not Tas as it should be.

This card https://github.com/pkissling/clock-weather-card is showing the correct Tasmanian time. I think wherever the clock data is being pulled from needs to be changed. In that card it has a migration from V1 to V2 Configuration property use_browser_time is now by default false, so by default the card will show the time of the current HA time zone.

MankiniChykan avatar Mar 08 '24 23:03 MankiniChykan

Same problem here. I'm in a different time zone and it shows be my present location time. Any fix?

soulripper13 avatar May 28 '24 16:05 soulripper13

They will have to allow a setting to allow server time, it is currently reading browser time.


Andrew (Chicken) Hunter 0417525998

On 2024-05-29 00:22, soulripper13 wrote:

Same problem here. I'm in a different time zone and it shows be my present location time. Any fix?

-- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you authored the thread.Message ID: @.***>

Links:

[1] https://github.com/mlamberts78/weather-chart-card/issues/134#issuecomment-2135659669 [2] https://github.com/notifications/unsubscribe-auth/AYJ5JS7EJBATPQN5BTJPJKLZESVLZAVCNFSM6AAAAABELWER3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGY2TSNRWHE

MankiniChykan avatar May 29 '24 23:05 MankiniChykan

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Aug 28 '24 02:08 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Sep 04 '24 02:09 github-actions[bot]