Skip Menu |
 

This queue is for tickets about the DateTimeX-Easy CPAN distribution.

Report information
The Basics
Id: 39373
Status: resolved
Priority: 0/
Queue: DateTimeX-Easy

People
Owner: Nobody in particular
Requestors: groditi [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.082
Fixed in: (no value)



Download (untitled) / with headers
text/plain 398b
make this work: "2008-09-16 13:23:57 Eastern Daylight Time (GMT+05:00)" perl -MDateTimeX::Easy -e 'print DateTimeX::Easy->new("2008-09-16 13:23:57 Eastern Daylight Time (GMT+05:00)");' which actually works as: "2008-09-16 13:23:57 (GMT+05:00)" perl -MDateTimeX::Easy -e 'print DateTimeX::Easy->new("2008-09-16 13:23:57 (GMT+05:00)");' but the extra (and redundant) timezone text trips it up. :(
Download (untitled) / with headers
text/plain 843b
On Wed Sep 17 23:31:50 2008, GRODITI wrote: Show quoted text
> make this work: > > "2008-09-16 13:23:57 Eastern Daylight Time (GMT+05:00)" > perl -MDateTimeX::Easy -e 'print DateTimeX::Easy->new("2008-09-16 > 13:23:57 Eastern Daylight Time (GMT+05:00)");' > > which actually works as: > "2008-09-16 13:23:57 (GMT+05:00)" > perl -MDateTimeX::Easy -e 'print DateTimeX::Easy->new("2008-09-16 > 13:23:57 (GMT+05:00)");' > > > but the extra (and redundant) timezone text trips it up. :(
Actually, neither is parsed correctly on my end (both come out as floating) I've moved the DateTimeX-Easy repository to git: http://github.com/robertkrimen/datetimex-easy/tree/master I've added the above two code bits as TODO tests I'm guessing we should ignore the GMT+05:00 and convert the "Eastern/Pacific/... Daylight/Standard Time" to US/Eastern, US/Pacific, etc.
Download (untitled) / with headers
text/plain 569b
On Wed Sep 17 23:31:50 2008, GRODITI wrote: Show quoted text
> make this work: > > "2008-09-16 13:23:57 Eastern Daylight Time (GMT+05:00)" > perl -MDateTimeX::Easy -e 'print DateTimeX::Easy->new("2008-09-16 > 13:23:57 Eastern Daylight Time (GMT+05:00)");' > > which actually works as: > "2008-09-16 13:23:57 (GMT+05:00)" > perl -MDateTimeX::Easy -e 'print DateTimeX::Easy->new("2008-09-16 > 13:23:57 (GMT+05:00)");' > > > but the extra (and redundant) timezone text trips it up. :(
Version 0.084 is being uploaded now which can successfully parse the above cases (and variants of)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.