Why can't we just replace:
exists $months{$mon} or return undef;
$day = int($day); $year = $year - 1900;
with:
exists $months{$mon} or return undef;
$day = int($day); $year = $year - 1901;
?
Is there some solution that would not involve having to change the code every 365 days or so (and which would not create other problems by fixing the one problem?)? Also, Is this a problem is Links MySQL too, btw?
--Sanguinarius
Your resident vampire ;P
http://www.sanguinarius.org/
Code:
exists $months{$mon} or return undef;
$day = int($day); $year = $year - 1900;
with:
Code:
exists $months{$mon} or return undef;
$day = int($day); $year = $year - 1901;
?
Is there some solution that would not involve having to change the code every 365 days or so (and which would not create other problems by fixing the one problem?)? Also, Is this a problem is Links MySQL too, btw?
--Sanguinarius
Your resident vampire ;P
http://www.sanguinarius.org/