Skip Menu |

This queue is for tickets about the Time-Format CPAN distribution.

Report information
The Basics
Id: 55630
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: Time-Format

People
Owner: eric.roode.cpan [...] gmail.com
Requestors: coke [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.11
Fixed in: (no value)



Subject: zulu timezone marker not supported
Specifying the Zulu Timezone on ISO 8601 dates confuses Time::Format $ perl -MTime::Format=%time -e 'print $time{"dd Mon yyyy - hh:mm:ss", "2010-03-16T08:45:38.781052"}'; $ perl -MTime::Format=%time -e 'print $time{"dd Mon yyyy - hh:mm:ss", "2010-03-16T08:45:38.781052Z"}'; Unrecognized time value: "2010-03-16T08:45:38.781052Z" at -e line 1 http://en.wikipedia.org/wiki/ISO_8601#UTC indicates that a trailing Z indicates UTC.
Fixed in v1.12. Time::Format now accepts a 'Z' suffix on an ISO-8601 string, setting the time zone to 'UTC'. Thanks, Coke.