Re: ISO 8601 Format YYYY-MM-DDThh:mm:ss.sss[+-]hhmm
[email protected] (Zefram)
| Newsgroups | perl.datetime |
|---|---|
| Message-ID | <[email protected]> |
Thomas Klausner wrote:
>Though I'm not sure why (beeing not familiar with the spec), my patch
>was rejected.
ISO 8601 implies (but does not explicitly state) that you must be
consistent within a single expression about whether you use the
hyphen and colon separators ("extended format"). With the time of
day expressed as "10:39:00.000", the UT offset should be expressed as
"+00:00", not "+0000". So an ISO 8601 parser is justified in rejecting
"10:39:00.000+0000".
-zefram