Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Re: [designerx] FIX for fatal error: invalid date format problem!

Quote Reply
Re: [designerx] FIX for fatal error: invalid date format problem! In reply to
Why can't we just replace:

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/
Subject Author Views Date
Thread FIX for fatal error: invalid date format problem! designerx 10394 Jan 25, 2001, 4:06 PM
Thread Re: FIX for fatal error: invalid date format problem!
Stealth 10132 Jan 26, 2001, 8:05 AM
Thread Re: FIX for fatal error: invalid date format problem!
Thomas. 10149 Feb 19, 2001, 6:21 AM
Post Re: FIX for fatal error: invalid date format problem!
Stealth 10127 Feb 19, 2001, 7:38 AM
Post Re: FIX for fatal error: invalid date format problem!
lindev 10112 Mar 2, 2001, 5:30 AM
Post Re: [designerx] FIX for fatal error: invalid date format problem!
Sanguinarius 9838 Dec 14, 2002, 5:27 PM
Post Post deleted by felicin
felicin 9491 Jan 12, 2003, 2:47 PM
Post Re: [designerx] FIX for fatal error: invalid date format problem!
rcull 9267 Sep 28, 2003, 9:04 PM
Thread Re: [designerx] FIX for fatal error: invalid date format problem!
rcull 9343 Oct 4, 2003, 7:27 AM
Thread Re: [rcull] FIX for fatal error: invalid date format problem!
Andy 9217 Oct 20, 2003, 7:22 AM
Thread Re: [Andy] FIX for fatal error: invalid date format problem!
rcull 9257 Oct 20, 2003, 4:36 PM
Thread Re: [rcull] FIX for fatal error: invalid date format problem!
rcull 9160 Nov 25, 2003, 7:21 PM
Post Re: [rcull] FIX for fatal error: invalid date format problem!
memobug 9099 Nov 28, 2003, 3:16 AM