Bug#557738: libtimedate-perl: Doesn't respect locale when parsing short dates (nn/nn/nn)

Vincent Lefevre vincent at vinc17.net
Thu Aug 15 23:28:41 UTC 2013


Control: unmerge 557738
Control: tags 557738 - wontfix
Control: tags 557738 fixed-upstream
Control: severity 557738 normal

On 2013-08-15 19:25:35 +0200, Vincent Lefevre wrote:
> Again, at least 557738 is a real bug, as the man page gives examples
> with 2-digit years.

This is obviously not the same bug as the other ones. Bug 557738
has actually been fixed. The problem was due to the $year+1900 in

  http://cpansearch.perl.org/src/GBARR/TimeDate-1.19/lib/Date/Parse.pm

(module version 2.29). The "+1900" has been removed in

  http://cpansearch.perl.org/src/GBARR/TimeDate-2.30/lib/Date/Parse.pm

(module version 2.30), and the called function does the right
2-digit -> 4-digit conversion.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the pkg-perl-maintainers mailing list