[tz] Buggy %z behaviour in strftime

Almaz Mingaleev mingaleev at google.com
Mon Jul 18 08:31:26 UTC 2022


Attached code prints "+0000 America/Los_Angeles" both with glibc and with
linked ToT strftime implementation.
On MacOs it prints "-0800 America/Los_Angeles".
Is it a known issue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mm.icann.org/pipermail/tz/attachments/20220718/00ac1267/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strftime_test.c
Type: application/octet-stream
Size: 349 bytes
Desc: not available
URL: <https://mm.icann.org/pipermail/tz/attachments/20220718/00ac1267/strftime_test.c>


More information about the tz mailing list