Closed Bug 236186 Opened 21 years ago Closed 21 years ago

Javascript does not display the year properly, I have used the standard date() function and called getYear().

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 22964

People

(Reporter: Ravi.Annam, Unassigned)

References

()

Details

User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 Javascript does not display the year properly, I have used the standard date() function and called getYear() method. You will see the date in the upper left hand side of the page. The source code reveals the code used. Reproducible: Always Steps to Reproduce: 1. 2. 3.
getYear() has Y2K problems, try getFullYear(). *** This bug has been marked as a duplicate of 100123 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Summary: Javascript does not display the year properly, I have used the standard date() function and called getYear(). → Javascript does not display the year properly, I have used the standard date() function and called getYear().
Status: RESOLVED → VERIFIED
Status: VERIFIED → UNCONFIRMED
Resolution: DUPLICATE → ---
*** This bug has been marked as a duplicate of 22964 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.