Closed Bug 60696 Opened 25 years ago Closed 25 years ago

y2k bug when retreiving dates via getYear()

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows 2000
defect

Tracking

()

VERIFIED DUPLICATE of bug 22964

People

(Reporter: leonard, Assigned: jst)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20001118 BuildID: 2000111808 y2k bug when retreiving dates via getYear() method for document.lastModified, Date object Reproducible: Always Steps to Reproduce: 1. Go to http://buglady.clc.uc.edu/jan/netscape%204_6%20bug.htm 2. See mozilla display the incorrect year 3. Go mozilla Go! Actual Results: getYear() returns 100 Expected Results: getYear() should return a 4 digit year. for 2000, it should return 2000
Invalid. getYear has in Javascript1.3+ been replaced with the getFullYear method. For details see bug 22964 *** This bug has been marked as a duplicate of 22964 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Verified dupe.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.