Commit 2e1fc206 authored by barraclough@apple.com's avatar barraclough@apple.com

String(new Date(2010,10,1)) is wrong in KRAT, YAKT

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

Reviewed by Darin Adler.

* runtime/JSDateMath.cpp:
(JSC::msToGregorianDateTime):
    - Additional review comment fix.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150835 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f1dd8122
2013-05-28 Gavin Barraclough <barraclough@apple.com>
String(new Date(2010,10,1)) is wrong in KRAT, YAKT
https://bugs.webkit.org/show_bug.cgi?id=106750
Reviewed by Darin Adler.
* runtime/JSDateMath.cpp:
(JSC::msToGregorianDateTime):
- Additional review comment fix.
2013-05-28 Brent Fulgham <bfulgham@apple.com>
[Windows] Unreviewed build fix after r150833
......
......@@ -203,7 +203,7 @@ double gregorianDateTimeToMS(ExecState* exec, const GregorianDateTime& t, double
// input is UTC
void msToGregorianDateTime(ExecState* exec, double ms, bool outputIsUTC, GregorianDateTime& tm)
{
LocalTimeOffset localTime(false, 0);
LocalTimeOffset localTime;
if (!outputIsUTC) {
localTime = localTimeOffset(exec, ms);
ms += localTime.offset;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment