Subject: | Cannot parse dates like 2010-05-16 13:29:37.137915+00 |
Hello,
PostgreSQL returns dates in ISO 8601 format such as 2010-05-16
13:29:37.137915+00. Unfortunately they are not recognized.
DateTime::Format::ISO8601->parse_datetime('2010-05-16
13:29:37.137915+00');
Creates the following error:
Invalid date format: 2010-05-16 13:29:37.137915+00 at [...]
Perl v5.10.0 built for i486-linux-gnu-thread-multi
On Linux debian/lenny 2.6.18-xenU #1 SMP Tue Nov 24 18:35:42 CET 2009
i686 GNU/Linux