On Tue, 11 Oct 2005, Boorstein, Daniel B wrote:

In putting together a new machine I've installed the latest versions of
DateTime and DateTime::TimeZone. Code that was working (using DateTime
0.22, DateTime::TimeZone 0.30) is now failing. Example:

perl -MDateTime -e 'my $dt = DateTime->new(year => 2016, month => 5, day
=> 13, time_zone => "EST5EDT"); print $dt->ymd, "\n"'
No next span 2016 at
/mass/perl586/lib/site_perl/5.8.6/DateTime/TimeZone.pm line 243.

It's not clear to me why DST dates in 2016 are causing this problem,
while later years are not. Any suggestions on how to work around this?

I'll release a new version of DT::TZ to fix this. Look for it sometime this week.


-dave

/*===================================================
VegGuide.Org                        www.BookIRead.com
Your guide to all that's veg.       My book blog
===================================================*/

Reply via email to