|
Message-Id: <20240324200122.8feda8341011587ec6cccf61@zhasha.com> Date: Sun, 24 Mar 2024 20:01:22 +0100 From: Joakim Sindholt <opensource@...sha.com> To: musl@...ts.openwall.com Subject: Re: Broken mktime calculations when crossing DST boundary On Sun, 24 Mar 2024 18:36:40 +0000, Alexander Weps <exander77@...me> wrote: > But there cannot be a case where you have normalized time add > something, normalize and create normalized time that is lower and vice > versa. I'm curious. How do you imagine mktime, which takes only 1 parameter and has no memory, deduces that to get the presently invalid 02:00:00 timestamp it's looking at you added 1 second to a valid 01:59:59 timestamp rather than say, subtracting 1 hour from a valid 03:00:00 timestamp?
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.