Hi, I have a countdown that is set for
<text action="countdown '2026/01/05 00:00' "/>
because of a special event happening that day, however I have noticed that since we entered summer time the countdown is an hour out.
The 'countdown' isn't an hour out, the numbers of hours to go is correct, but when shown as the number of days & hours, it is out, so at midnight it is still on the previous day with an hour to go and moves to the next day at 1am. So I accept the countdown is mathematically correct, but when displayed as DAYS + HOURS, it isn't if that makes sense since Sunday 26th Oct this year has 25 hours in it.
I think if I take an hour off the countdown (2026/01/04 23:00 ?) then that will make it look correct, as long as I remember to switch it back when summer time ends, but I wondered if there was a way to add a flag that would take this into account automatically.
<text action="countdown '2026/01/05 00:00' "/>
because of a special event happening that day, however I have noticed that since we entered summer time the countdown is an hour out.
The 'countdown' isn't an hour out, the numbers of hours to go is correct, but when shown as the number of days & hours, it is out, so at midnight it is still on the previous day with an hour to go and moves to the next day at 1am. So I accept the countdown is mathematically correct, but when displayed as DAYS + HOURS, it isn't if that makes sense since Sunday 26th Oct this year has 25 hours in it.
I think if I take an hour off the countdown (2026/01/04 23:00 ?) then that will make it look correct, as long as I remember to switch it back when summer time ends, but I wondered if there was a way to add a flag that would take this into account automatically.
Posté 4 days ago @ 12:02 pm
param_equal `get_date %Z` 'GMT Summer Time' ? countdown '2026/01/04 23:00' : countdown '2026/01/05 00:00'
@devs earliest reminder ever, bump countdown default param to 2026/01/01
Posté 4 days ago @ 12:23 pm
Perfect thank you
Posté 4 days ago @ 3:43 pm