Subject: | Change in str2time behaviour between 1.16 and 1.19 |
Date: | Wed, 18 Nov 2009 08:26:01 -0800 |
To: | <bug-TimeDate [...] rt.cpan.org> |
From: | <andy.hickman [...] tektronix.com> |
Hi,
I think I've found a bug introduced in a recent update to the Date::Parse module.
TimeDate: 1.16
Date::Parse: 2.27
C:\Perl\bin>perl -e "use Date::Parse; print str2time('16 Oct 09')"
1255647600
TimeDate: 1.19
Date::Parse: 2.29
C:\Perl\bin>perl -e "use Date::Parse; print str2time('16 Oct 09')"
-1282176000
(Note negative epoch time.)
I'm running ActiveState Perl on XP32
C:\Perl\bin>perl --version
This is perl, v5.10.0 built for MSWin32-x86-multi-thread
(with 3 registered patches, see perl -V for more detail)
Copyright 1987-2007, Larry Wall
Binary build 1002 [283697] provided by ActiveState http://www.ActiveState.com
Built Jan 10 2008 11:00:53
Thanks,
Andy
--
Andy Hickman
Engineering Manager
Tektronix UK Ltd, City Point, Temple Gate, Bristol, BS1 6PL, UK
Tel.: +44 (0)117 910 0432
Fax: +44 (0)117 910 0411
Web: http://www.tek.com/products/video_test/
For Tektronix legal entity information and registration details go to: www.tektronix.com/entities<http://www.tektronix.com/entities>