Aug. 25, 2025
10:06 p.m.
On Aug 25, 2025, at 2:15 PM, Paul Eggert via tz <tz@iana.org> wrote:
On 2025-08-25 14:00, Brian Inglis via tz wrote:
I notice that only GNU date(1) appears to support %:/::/:::z zone formats: are there any plans to add it to gnulib, glibc, etc. strftime(3), and document it under the optional format prefix flags?
That has all been done as far as I know.
On what platforms have you seen "%:z", "%::z", and "%:::z" work in strftime()? I have not seen it on Ubuntu 24.04, FreeBSD 14, or macOS Sequoia; in all of them, those formats do not result in a time zone value, and the C compiler on Ubuntu even wants that invalid format specifications are being used.