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? I'd assume it is not a big deal as I couldn't find anyone who faced the same issue with timezone formatting in strftime, but still. On Sat, 25 Feb 2023 at 01:11, Paul Eggert <eggert@xxxxxxxxxxx> wrote: > > That patch looks complex and rather than go into its nooks and crannies, > how about something much simpler, like the attached? This would be > better for the typical reader of the strftime man page. > > Although tm_zone and tm_gmtoff are not 100% portable to oddball > platforms like MS-Windows, they'll be in the next POSIX and if that > portability issue is to be documented at all any longwinded discussion > should go in tm.3type not here.