[Webkit-unassigned] [Bug 82435] REGRESSION(r105939): Date.toLocaleString()'s ICU implementation is incorrect between 00:00-01:00 (PDT)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 23 10:00:59 PDT 2012


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





--- Comment #6 from Eli Fidler <efidler at rim.com>  2012-06-23 10:00:57 PST ---
I can't reproduce this failure. On my Ubuntu machine with Qt5 WebKit:

$ cat date.js 
print(new Date("Mon Mar 12 2012 00:59:59 GMT-0700 (PDT)").toString())
print(new Date("Mon Mar 12 2012 00:59:59 GMT-0700 (PDT)").toLocaleString())
print(new Date("Mon Mar 12 2012 00:59:59 GMT-0700 (PDT)").toLocaleDateString())
print(new Date("Mon Mar 11 2012 00:59:59 GMT-0800 (PST)").toLocaleDateString())

$ TZ=PST8PDT ./jsc date.js 
Mon Mar 12 2012 00:59:59 GMT-0700 (PDT)
12 March, 2012 12:59:59 AM PDT
12 March, 2012
11 March, 2012

$ TZ=PST8 ./jsc date.js 
Sun Mar 11 2012 23:59:59 GMT-0800 (PST)
11 March, 2012 11:59:59 PM GMT-08:00
11 March, 2012
11 March, 2012

Maybe your timezone database is weird?

I wonder if the testcase is valid, since nothing specifies that it's valid to construct a Date from the output of Date.toLocale*String().

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