On Tue, Oct 25, 2022 at 04:08:13 +0300, Valery Ushakov wrote:

> musl seems to do the right thing.  Its mktime obeys the "expressed as
> local time" requirement and ignores tz-related state in tm, but %s
> gets you the original time_t back from the
> 
>      time_t -> struct tm -> strftime("%s")
> 
> roundtrip regardless of how struct tm was obtained.

Xref: https://www.openwall.com/lists/musl/2018/01/18/4


-uwe

Reply via email to