issue with Dec 9 datetime in Caracas

[email protected] (Éric Cholet)
Newsgroups perl.datetime
Message-ID <[email protected]>
Hi,

I ran into the following problem with a specific datetime, and the  
Caracas time zone:

my $d = DateTime->new(year => 2007, month => 12, day => 9, hour => 11,  
minute => 8, time_zone => 'UTC');
print "$d\n";
$d->set(locale => 'fr');
print "$d\n";
$d->set_time_zone('America/Caracas');
print "$d\n";
$d->set(locale => 'fr');
print "$d\n";

the above script outputs:

2007-12-09T11:08:00
2007-12-09T11:08:00
2007-12-09T06:38:00
Invalid local time for date in time zone: America/Caracas


DateTime version is 0.41
DateTime::TimeZone version is 0.70
DateTime::Locale version is 0.35

--
Éric Cholet
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.