[Webkit-unassigned] [Bug 12070] KJS::getUTCOffset() caches UTC offset but ignores time zone changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 2 20:14:53 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12070





------- Comment #1 from ddkilzer at webkit.org  2007-01-02 20:14 PDT -------
Caching the UTC offset does create problems when changing the time zone through
the Date & Time system preferences pane.  It may be as simple as reporting the
wrong time zone (reporting a daylight saving time zone when it's not daylight
saving time) to reporting the wrong time zone offset (e.g., +1800 instead of
-0600).

Steps to reproduce:

1. Quit WebKit.
2. Set time zone to "London - England" (GMT +0000) in Date & Time pane.
3. Open WebKit.
4. Open this URL:  javascript:alert(new Date())
5. Set time zone to "Chicago - U.S.A." (CST -0600) in Date & Time pane.
6. Open this URL again: javascript:alert(new Date())

Expected results:

Time zone should be reported as -0600 (CST) with the correct date and time.

Actual results:

Time zone is reported as +1800 (CDT) (or similar).


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list