[tz] NetBSD and Android bionic APIs for tz values

Guy Harris guy at alum.mit.edu
Mon Aug 18 17:33:29 UTC 2014

On Aug 17, 2014, at 10:08 AM, Paul Eggert <eggert at cs.ucla.edu> wrote:

> Second and more important, strftime_z has an unnecessary timezone_t argument.  This argument is present to format %Z and %z, but NetBSD can format %Z from the tm_zone member of struct tm, and similarly for %z and tm_gmtoff.

Not all OSes can do that, however, as not all OSes with "struct tm" have "tm_zone" and "tm_gmtoff" members of that structure.

More information about the tz mailing list