[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
parse-datetime: cannot handle ISO-8601 strings
From: |
Simon Josefsson |
Subject: |
parse-datetime: cannot handle ISO-8601 strings |
Date: |
Sun, 02 Jan 2011 23:40:15 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Ironically the parse-datetime module -- which otherwise appears to
handle all practically occuring formats -- doesn't seem able to handle
complete ISO-8601 strings, which can be reproduce easily like this:
$ LANG=C date --date=1970-01-01T00:00:00Z
date: invalid date `1970-01-01T00:00:00Z'
$
$ LANG=C date --date=1970-01-01T00:00:00+00:00
date: invalid date `1970-01-01T00:00:00+00:00'
$
Is this intentional somehow?
/Simon
- parse-datetime: cannot handle ISO-8601 strings,
Simon Josefsson <=