Wow - sounds like a bug to me.   Ick.

Zefram wrote:
perl -MDevel::SimpleTrace -MDateTime -e'my $d = DateTime->today(time_zone => 
"Africa/Cairo") ;'

This is failing because it attempts to construct 00:00 local time in the
specified timezone, but today there was no 00:00 in Cairo.  DST took
effect at what would have been that instant, so the local time jumped
from 2009-04-23T23:59:59+02 to 2009-04-24T01:00:00+03.

-zefram

--
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: sh...@aptest.com


Reply via email to