Reviewed by Brady.
authorkmccullo <kmccullo@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Nov 2006 20:34:23 +0000 (20:34 +0000)
committerkmccullo <kmccullo@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Nov 2006 20:34:23 +0000 (20:34 +0000)
commit3951753b15394fa0c28b7a9cbae6848fc514290c
tree69e22c060b0c84258b01bb35776f067a9ef11e79
parent0da26b8b567f0a6d57abc1ebd80e7777c67b9013
    Reviewed by Brady.

        - Fixes many JavaScriptCore tests in other timezones.  The root problem is that on mac localtime() returns historically accurate information for DST, but the JavaScript spec explicitly states to not take into account historical information but rather to interpolate from valid years.

        * kjs/DateMath.cpp:
        (KJS::equivalentYearForDST):
        (KJS::getDSTOffsetSimple):
        (KJS::getDSTOffset):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/DateMath.cpp