[Remind-Fans] Remind 04.02.00: make test failed on OpenBSD
Martin Ziemer
horrad at horrad.de
Mon Oct 17 10:05:23 EDT 2022
Am Mon, Oct 17, 2022 at 09:55:52AM -0400 schrieb Dianne Skoll via Remind-fans:
> On Mon, 17 Oct 2022 09:52:55 -0400
> Martin Ziemer via Remind-fans <remind-fans at lists.skoll.ca> wrote:
> > I just tested this case and found out, with negative tm_isdst (as
> > used in the code) the daylight saving changes from 01:11 to 01:12!:
> !! Well, that is very weird. The official rules state that the change
> happens at 02:00:00 local daylight time, at least according to
> https://www.timeanddate.com/time/change/canada/toronto
>
> Either way, there's always going to be a window of ambiguity and the
> only way to make the tests reliable is to avoid that window.
So i guess the best move is to cut this test. (At least in the OpenBSD
port i will patch this test out, as i see no practical solution and
the ambiguity is real.)
More information about the Remind-fans
mailing list