Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 23 Mar 2024 07:41:50 +0100
From: Markus Wichmann <nullplan@....net>
To: musl@...ts.openwall.com
Cc: Alexander Weps <exander77@...me>
Subject: Re: Broken mktime calculations when crossing DST boundary

Hi,

can you send a reproducer? I have written the attached program, and
cannot see the issue. I have tried both the zoneinfo file and the POSIX
TZ.


$ TZ=Europe/Prague ./foo 2024 3 31 1 58 00
before: 2024-03-31 01:58:00 CET
after: 2024-03-31 03:00:00 CEST
$ TZ=CET-1CEST,M3.5.0,M10.5.0/3 ./foo 2024 3 31 1 58 00
before: 2024-03-31 01:58:00 CET
after: 2024-03-31 03:00:00 CEST

What are you doing different?

Ciao,
Markus

View attachment "foo.c" of type "text/x-csrc" (713 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.