[Webkit-unassigned] [Bug 80262] REGRESSION (r76714): Date.toLocaleString not taking time zone into account

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 6 00:50:57 PST 2012


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





--- Comment #4 from Andy Wingo <wingo at igalia.com>  2012-03-06 00:50:56 PST ---
(In reply to comment #3)
> That's odd... on QNX:
> 
> > var TIME_1900 = -2208988800000;
> undefined
> > new Date(TIME_1900)
> Mon Jan 01 1900 01:00:00 GMT+0100 (CET)
> > new Date(TIME_1900).toLocaleDateString()
> "January 1, 1900"
> > new Date(TIME_1900).toLocaleString()
> "January 1, 1900 1:00:00 AM GMT+01:00"
> > new Date(TIME_1900).toTimeString()
> "01:00:00 GMT+0100 (CET)"
> > new Date(TIME_1900).toLocaleTimeString()
> "1:00:00 AM GMT+01:00"
> 
> What platform are you seeing the regression on?

Strange that it's working for you and not for me.  I use the WebKitGTK+ port, and my GNU/Linux system has ICU 4.8.1.1-3 installed.

Are you in the CET time zone?  We could look into this over IRC if you like.

-- 
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