Alex and Michael, Please let me know if the patch proposed by Paul can be applied on its own. If you also think that mktime should be updated, I can try to prepare a patch for it. On Mon, 27 Feb 2023 at 20:43, Paul Eggert <eggert@xxxxxxxxxxx> wrote: > > On 2/27/23 00:52, Almaz Mingaleev wrote: > > Thanks Paul, looks good to me. Just one follow-up question: mktime's > > man page does not mention tm_gmtoff / tm_zone fields. Should it also > > be updated, for completeness? > > Quite possibly. Lots of updates are needed in this area; I'm afraid I > haven't had time to look into it. (The general rule ought to be to keep > it short and sweet, and of course that takes more time....)