Changeset 45918 in webkit for trunk/JavaScriptCore
- Timestamp:
- Jul 15, 2009, 9:58:36 AM (16 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r45914 r45918 1 2009-07-15 Yong Li <[email protected]> 2 3 Reviewed by George Staikos. 4 5 https://bugs.webkit.org/show_bug.cgi?id=27020 6 msToGregorianDateTime should set utcOffset to 0 when outputIsUTC is false 7 8 * wtf/DateMath.cpp: 9 (WTF::gregorianDateTimeToMS): 10 1 11 2009-07-15 Laszlo Gombos <[email protected]> 2 12 -
trunk/JavaScriptCore/wtf/DateMath.cpp
r45908 r45918 3 3 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. 4 4 * Copyright (C) 2009 Google Inc. All rights reserved. 5 * Copyright (C) 2007-2009 Torch Mobile, Inc. 5 6 * 6 7 * The Original Code is Mozilla Communicator client code, released … … 518 519 tm.isDST = dstOff != 0.0; 519 520 520 tm.utcOffset = static_cast<long>((dstOff + utcOff) / msPerSecond);521 tm.utcOffset = outputIsUTC ? 0 : static_cast<long>((dstOff + utcOff) / msPerSecond); 521 522 tm.timeZone = NULL; 522 523 }
Note:
See TracChangeset
for help on using the changeset viewer.