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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 5 16:20:35 PST 2012


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





--- Comment #3 from Eli Fidler <efidler at rim.com>  2012-03-05 16:20:34 PST ---
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?

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