Closed Bug 245104 Opened 20 years ago Closed 20 years ago

wrong date shown in JavaScript

Categories

(Toolkit Graveyard :: Error Console, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 22964

People

(Reporter: floeff, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.6) Gecko/20040206 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.6) Gecko/20040206 Firefox/0.8

The JavaScript seems to be interpreted wrong. It should read "Aktuelle
Sicherheitslage vom 30.05.2004" but it reads "Aktuelle Sicherheitslage vom
30.05.104".

Same problem occurs with Opera. It works correct in Internet Explorer.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
The site is using getYear() incorrectly.  It should be getFullYear()

What Mozillz is doing is correct.  The other browsers are not.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---

*** This bug has been marked as a duplicate of 22964 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.