Re: ISO 8601 Format YYYY-MM-DDThh:mm:ss.sss[+-]hhmm
[email protected] (Thomas Klausner)
| Newsgroups | perl.datetime |
|---|---|
| Message-ID | <[email protected]> |
Hi!
On Tue, Apr 24, 2012 at 03:50:27PM +0000, Carl Vincent wrote:
> I'm looking to parse a datetime from ISO8601 use DateTime::Format::ISO8601
>
> 2012-04-24T10:39:00.000+0000
I had a similar problem once:
https://rt.cpan.org/Public/Bug/Display.html?id=52645
(I submitted a patch to RT, even though it seems DT:F:ISO is one of the
modules that do not want to use RT)
Though I'm not sure why (beeing not familiar with the spec), my patch
was rejected.
> For the record, this is the format I'm getting back from the SalesForce API...
I cannot remember what generated the "wrong" ISO8601, but I think it was
Perl or even DateTime itself... Will check..
Greetings,
domm
--
#!/usr/bin/perl http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}