[Webkit-unassigned] [Bug 121317] New: Webkit caches the timezone, so changing it in the OS results in the localtime not changing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 13 13:17:35 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=121317

           Summary: Webkit caches the timezone, so changing it in the OS
                    results in the localtime not changing
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sirisian at gmail.com


I tested this in Ubuntu with webkit (running in node-webkit).

If you start an instance of webkit and use javascript to output the time it'll be the current OS time. If you then change the timezone of the OS and query again the localtime will not change since webkit does not track if the OS timezone changes. If you restart webkit then it loads in the current timezone and everything works fine until the timezone is changed again.

So webkit should listen for changes to the timezone in the OS and automatically update its local cache of the timezone so that the localtime is always accurate when called.

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



More information about the webkit-unassigned mailing list