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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 3 22:01:53 PST 2007


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


ddkilzer at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #12205|                            |review?
               Flag|                            |
             Status|NEW                         |ASSIGNED
         AssignedTo|webkit-                     |ddkilzer at webkit.org
                   |unassigned at lists.webkit.org |




------- Comment #4 from ddkilzer at webkit.org  2007-01-03 22:01 PDT -------
Created an attachment (id=12205)
 --> (http://bugs.webkit.org/attachment.cgi?id=12205&action=view)
Patch v1

If the user changes time zones without restarting a WebKit application like
Safari, the cached UTC offset will cause JavaScript to report the wrong time
zone and/or the wrong time.  The simple solution is to stop caching the UTC
offset and calculate it every time.  That's what this patch does.

Note that no performance testing has been done.


-- 
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.
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list