|Subject:||Date::Parse::str2time maps date in 1963 to 2063|
The Date::Parse::str2time function, given a string representing a date in 1963 such as "1963-12-31 23:59:59 UTC", returns a value denoting a date exactly 100 years later. Similar strings representing dates in 1964 or later are handled correctly. (I wonder if the relevant year is 50 years before the current year; that's just a guess.) The attached test script demonstrates the bug, and includes the output I got after the __END__ marker; the output shows the version of Perl, of the Date::Parse module, and of my system (64-bit Linux). The strptime() function works correctly for the same input strings.
Message body not shown because it is not plain text.