Closed
Bug 297219
Opened 20 years ago
Closed 20 years ago
Javascript date function returns incorrect date when I change date time properties on computer
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: itDept, Unassigned)
Details
Attachments
(1 file)
|
99 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 <html> <head></head> <body> <script> document.write(new Date()); </script> </body></html> -------------- This returns the correct date to start, but when you update the date and time properties on your PC, javascript will not recognize that a change has been made, and will continue to show the old date. Reproducible: Always Steps to Reproduce: 1.display a javascript new date onto a web page (any) 2.change time on computer 3.display date again, it will not match computer time Actual Results: The time does not match computer time Expected Results: Shown the correct, updated date
Comment 1•20 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050609 Firefox/1.0+ ID:2005060909 WFM
Comment 2•20 years ago
|
||
Works for me too. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050604 Firefox/1.0+
Comment 3•20 years ago
|
||
works for me in deerpark winxpsp2 from today.
Comment 4•20 years ago
|
||
and in today's ff 1.0.4
Assignee: nobody → general
Component: General → JavaScript Engine
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → 1.7 Branch
Comment 5•20 years ago
|
||
wfm
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•