[Webkit-unassigned] [Bug 27020] New: msToGregorianDateTime ignores outputIsUTC param when filling in utcOffset
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 6 20:03:13 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27020
Summary: msToGregorianDateTime ignores outputIsUTC param when
filling in utcOffset
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Template Framework
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: joe.mason at torchmobile.com
CC: treat at kde.org, yong.li at torchmobile.com
msToGregorianDateTime has an outputIsUTC parameter - if false, the output
should be in localtime.
If the parameter is true, the result GregorianDateTime structure is filled with
a time in UTC, but the utcOffset field is still set to the local timezone
offset as if it were filled with a local time. I believe it should always be 0
if outputIsUTC is true.
This happens to work in most cases because utcOffset is never used - it happens
that everywhere msToGregorianDateTime is called with outputIsUTC true, it's in
a code path which doesn't look at utcOffset. I don't think we should be
depending on this, though.
--
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