[tz] NetBSD vs Darwin timezone API
Paul Eggert
eggert at cs.ucla.edu
Fri Nov 11 23:22:30 UTC 2016
Guy Harris wrote:
> neither tzgetname() nor tzgetgmtoff() fully support the tzdb ... if we were to provide similar APIs, they'd have to take something such as a time_t as an argument
I don't see the need, as one can call localtime and get the time zone
abbreviation from tm_zone. This works on NetBSD, which defines tm_zone, so those
two functions are unnecessary there. Any platform lacking tm_zone should add it
instead of adding those two functions.
More information about the tz
mailing list