Bug#799476: libc6: strftime should allow extended-format timezone (ISO 8601)

2021-04-04 Thread Thorsten Glaser
Package: libc6 Version: 2.31-10 Followup-For: Bug #799476 X-Debbugs-Cc: t...@mirbsd.de Control: tags 799476 + upstream Incidentally, I came here to report precisely this (strftime(3) and date(1) not consistent wrt. GNU extensions). I’ve since added %-d and %:z to MirBSD libc’s strftime(3) — whose

Bug#799476: libc6: strftime should allow extended-format timezone (ISO 8601)

2015-09-19 Thread Michael Gold
Package: libc6 Severity: wishlist For a date in ISO 8601 extended format with "Difference between local time and UTC of day" (§4.2.5.1), the timezone can be written only as ±hh:mm or ±hh. §4.3.3d says (http://dotat.at/tmp/ISO_8601-2004_E.pdf#): "the expression shall either be completely in basic

Bug#799476: libc6: strftime should allow extended-format timezone (ISO 8601)

2015-09-19 Thread Michael Gold
On Sat, Sep 19, 2015 at 12:20:39 -0400, Michael Gold wrote: > strftime should be able to output the timezone with a colon > [...] Perhaps a new flag could be used, e.g. "%:z". > > A way to output ±hh if mm==00, or ±hh:mm otherwise, may be useful too. > Maybe "%3z" or "%:3z" Actually, I see the