Subject: | Bug in _fix_1_digit_year |
Hi,
Due to the way _fix_1_digit_year is written, it sets the year incorrectly after 2010. I spotted this today when I noticed the tests failing (lines 231, 239, 247, and 254 in 02_examples.t).
As a suggestion, imo it would be better to add the parsed year instead of using the regular expression and string concatenation.
Cheers,
Pedro
Due to the way _fix_1_digit_year is written, it sets the year incorrectly after 2010. I spotted this today when I noticed the tests failing (lines 231, 239, 247, and 254 in 02_examples.t).
As a suggestion, imo it would be better to add the parsed year instead of using the regular expression and string concatenation.
Cheers,
Pedro