Closed ghen2 closed 6 months ago
This shouldn't be necessary, as the code already accounts for leap years (just search for leap in Local.pm
). Do you have a test that shows the bug?
You're right, the bug was in parsing a short date without year ("Thu Feb 29") in Postfix mailq output, where our code hardcoded a (non-leap) year :)
Found an interesting bug today:
Day '29' out of range 1..28
on February 29 :)