WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
19139
Wrong JavaScript time zone when time zone set to Colombo, Sri Lanka
https://bugs.webkit.org/show_bug.cgi?id=19139
Summary
Wrong JavaScript time zone when time zone set to Colombo, Sri Lanka
Hans Thiele
Reported
2008-05-20 03:58:01 PDT
When the time zone is set to IST (GMT +5.30) and the next city is set to "Colombo (Sri Lanka)", then JavaScript will add 24 hours to the actual time and display "GMT+2930 (IST)". With any other city in this time zone it displays the correct time "GMT+0530 (IST)". Other browser, also working with WebKit like Shiira or iCab, show the same bug while browser with an own engine like Opera or Firefox pass the test correctly. The bug is very simple to show with this JavaScript command: document.write(new Date());
Attachments
test case
(249 bytes, text/html)
2008-05-20 04:02 PDT
,
Hans Thiele
no flags
Details
screenshot
(210.54 KB, image/png)
2008-05-20 04:06 PDT
,
Hans Thiele
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Hans Thiele
Comment 1
2008-05-20 04:02:56 PDT
Created
attachment 21251
[details]
test case
Hans Thiele
Comment 2
2008-05-20 04:06:31 PDT
Created
attachment 21252
[details]
screenshot The screenshot shows the same script in Safari and Firefox and also the time zone settings where the bug will work
Mark Rowe (bdash)
Comment 3
2008-05-20 11:26:49 PDT
Huh, that's very curious!
Mark Rowe (bdash)
Comment 4
2008-05-20 11:27:02 PDT
<
rdar://problem/5949543
>
Gavin Barraclough
Comment 5
2012-09-06 17:43:02 PDT
This works for me.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug