[Webkit-unassigned] [Bug 120556] Date#getTimezoneOffset should be dynamic
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Aug 31 11:40:28 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=120556
--- Comment #3 from Zan Dobersek <zandobersek at gmail.com> 2013-08-31 11:39:48 PST ---
Note that when outputting the Date object as a string[1], format-printing the timezone abbreviation calls tzset(), so this occurs:
>>> (new Date())
Sat Aug 31 2013 11:34:06 GMT-0700 (PDT)
** timezone change **
>>> (new Date())
Sat Aug 31 2013 11:34:33 GMT-0700 (CEST) // Timezone name correct, offset not.
>>> (new Date())
Sat Aug 31 2013 20:34:38 GMT+0200 (CEST) // All fine.
[1] http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/runtime/DateConversion.cpp#L112
--
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