[Webkit-unassigned] [Bug 17820] fast/js/date-DST-time-cusps.html and fast/js/date-big-setdate.html fail when not in PST/PDT time zone

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 18 12:10:58 PDT 2009


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


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31315|review?                     |review-
               Flag|                            |




------- Comment #29 from ap at webkit.org  2009-06-18 12:10 PDT -------
(From update of attachment 31315)
> +        Skip layout tests for DST if the test runs not in PDT.

If my understanding is correct, PDT is daylight time, so these tests won't run
anywhere for 6 months each year. What does tzname return in California in
winter - should we perhaps permit PST, as well?

+        { "inTimezonePDT", inTimezonePDTCallback, kJSPropertyAttributeReadOnly
| kJSPropertyAttributeDontDelete },

I think that you could get time zone name from Javascript - e.g. (new
Date).toString() returns "Thu Jun 18 2009 23:08:56 GMT+0400 (MSD)" for me. The
code for formatting dates is in formatTime() in DateConversion.cpp. Even if
it's necessary to add a method to DumpRenderTree, I'd make it return the time
zone name, not a boolean.


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



More information about the webkit-unassigned mailing list