Actually, I was wrong - this is a call to DateTime->today.  As in:

my $d = DateTime->today(time_zone => "Africa/Cairo") ;

This is failing with the exception below.  Help?

Shane McCarron wrote:
Right now (seconds since the epoch 1240582619 more or less) if I attempt to create a datetime object using that value in the Afirca / Caori timezone, I am getting an exception:

//Invalid local time for date in time zone: Africa/Cairo

Stack:
 [C:\Perl\site\lib\DateTime\TimeZone.pm:209]
 [C:\Perl\site\lib\DateTime\TimeZone.pm:164]
 [C:\Perl\site\lib\DateTime.pm:870]
 [C:\Perl\site\lib\DateTime.pm:335]
 [C:\Perl\site\lib\DateTime.pm:215]
 [C:\Perl\site\lib\DateTime.pm:250]
 [C:\Perl\site\lib\DateTime.pm:1824]
 [C:\Perl\site\lib\DateTime.pm:477]
//


I have a customer who is down because of this.  Any suggestions?


--
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