Closed
Bug 114754
Opened 23 years ago
Closed 23 years ago
Timezone is given wrong (dates out by one day) in GMT timezone
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
People
(Reporter: jmc, Assigned: rogerl)
Details
The following html page displays "Timezone offset: -24 hours." when run from a
machine with Timezone GMT (in UK). It should say 0 hours.
This is also wrong in Netscape 4.whatever.
<html>
<head>
<title>Test dates</title>
</head>
<body>
<script language="javascript">
var d = new Date();
document.writeln("<p>Timezone offset: ", d.getTimezoneOffset()/60, ' hours.</p>');
</script>
</body>
</html>
Comment 2•23 years ago
|
||
Yes, this is a duplicate. John, thank you for this report; you will be
cc'ed on the duplicate bug in order to follow its progress.
*** This bug has been marked as a duplicate of 65671 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•