GNU bug report logs -
#21907
date->string duff ISO 8601 zone format
Previous Next
Full log
Message #8 received at 21907 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
A sequence of two patches is attached. The first fixes the ~2/~4 bug,
signalling an error for any unrepresentable offset.
The second is a bonus patch, which fixes related problems in ~z, the
RFC 822 zone format specifier. Prior to the patch, ~z outputs "Z" for
UT, which would be correct for ISO 8601 format but is deprecated (along
with all the other single-letter syntax) for RFC 822. The patch changes
that to the approved "+0000". ~z also had exactly the same problems as
~2/~4 regarding unrepresentable offsets, so the patch fixes them in the
same way.
I could report the ~z problems in a separate ticket if you like.
Beware that the second of these patches has some textual dependence on
the first, so trying to handle them separately might just be confusing.
-zefram
[0001-fix-SRFI-19-s-ISO-8601-zone-output-formats.patch (text/x-diff, attachment)]
[0002-fix-SRFI-19-s-RFC-822-zone-output-format.patch (text/x-diff, attachment)]
This bug report was last modified 8 years and 57 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.