Subject: | ParseDate difference from v5 to v6 when a "day of the week" is included. |
When I was running the Gedcom.pm test suite against Date::Manip (6.05,
later upgraded to 6.11), it failed a number of tests. Upon further
inspection it looks like there is a difference between v5 and v6 with this:
perl -MDate::Manip=ParseDate -e 'print ParseDate( "Sunday, 9th January
1972" ), "\n";'
Version 5.42 returns: 1972010900:00:00
Version 6.11 returns: 1972022700:00:00
If i remove the day of the week:
perl -MDate::Manip=ParseDate -e 'print ParseDate( "9th January 1972" ),
"\n";'
Version 5.42 returns: 1972010900:00:00
Version 6.11 returns: 1972010900:00:00
Thanks in advance.