Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 24 Mar 2024 14:02:00 -0400
From: Rich Felker <>
To: Alexander Weps <>
Cc:, Daniel Gutson <>,
	Markus Wichmann <>
Subject: Re: Broken mktime calculations when crossing DST boundary

On Sun, Mar 24, 2024 at 05:12:35PM +0000, Alexander Weps wrote:
> Adding seconds cannot make time go backwards. If that is how it was
> interpreted, than the interpretation is erroneous.

And subtracting seconds can't make time go forwards, but that's what
would happen with the alternate interpretation you want.

There is fundamentally no way for the interface to read your mind and
know that the time you requested is "move forward from a past valid
normalized time" and not "move backward from a future valid normalized


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.