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.