Subject: | Parsing issue |
Date: | Tue, 10 Nov 2020 14:34:02 +0100 |
To: | bug-DateTime-Format-RFC3339 [...] rt.cpan.org |
From: | Andrew Grechkin <andrew.grechkin [...] gmail.com> |
Hello Eric,
There is a bug in parsing RFC3339 datetime.
It's allowed to use space or other symbol to separate date and time part
here https://tools.ietf.org/html/rfc3339#section-5.6
```
NOTE: ISO 8601 defines date and time separated by "T".
Applications using this syntax may choose, for the sake of
readability, to specify a full-date and full-time separated by
(say) a space character.
```
but the parser is failing on receiving string with space like this:
2006-08-14 02:34:56-06:00
--
Yours sincerely,
Andrew Grechkin.