[prev in list] [next in list] [prev in thread] [next in thread]
List: konq-bugs
Subject: [Bug 139435] New: setUTCHours sets hour plus one
From: Anthony <anthony.garrett () bigfoot ! com>
Date: 2006-12-31 12:44:32
Message-ID: 20061231134431.139435.anthony.garrett () bigfoot ! com
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=139435
Summary: setUTCHours sets hour plus one
Product: konqueror
Version: unspecified
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: kjs
AssignedTo: konq-bugs kde org
ReportedBy: anthony.garrett bigfoot com
Version: Konqueror 3.5.5 (using KDE KDE 3.5.5)
Installed from: Ubuntu Packages
OS: Linux
The following code displays 1 on the page (when it should display 0 ) demonstrating that the \
setUTCHours method incorrectly offsets by one hour. Every value (0 to 23) is offset, e.g. \
myDate.setUTCHours(4) displays 5 ... with 23 displaying as 0.
<html>
<head><title>Times test</title></head>intefering
<body>
<script type='text/JavaScript'>
var myDate = new Date();
myDate.setUTCHours(0);
document.write(myDate.getUTCHours());
</script>
</body>
</html>
The following information may help to eliminate other possible issues; I have tested this \
during the winter in the UK (i.e. the local time is GMT=UTC) so there should be no possibility \
of local time intefering with this bug. _______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic