[tz] strftime %s

Steve Summit scs at eskimo.com
Wed Jan 10 22:05:23 UTC 2024


Paul Gilmartin wrote:
> Seconds since the epoch should not depend on TZ.
> The epoch is 0 UTC, not 0 local.

Right.  So it seems to me that strftime should *not* support %s,
or at least, not unless struct tm is expanded to include a field
holding the original time_t value.

(But, yes, I saw Paul's earlier message mentioning the next POSIX
draft talking about it.)



More information about the tz mailing list