bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21907: date->string duff ISO 8601 zone format


From: Zefram
Subject: bug#21907: date->string duff ISO 8601 zone format
Date: Wed, 19 Apr 2017 22:21:46 +0100

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

Attachment: 0001-fix-SRFI-19-s-ISO-8601-zone-output-formats.patch
Description: Text Data

Attachment: 0002-fix-SRFI-19-s-RFC-822-zone-output-format.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]