Changeset 269502 in webkit


Ignore:
Timestamp:
Nov 5, 2020 8:18:57 PM (21 months ago)
Author:
ysuzuki@apple.com
Message:

toLocaleDateString() resolves incorrect date for some old dates
https://bugs.webkit.org/show_bug.cgi?id=161623

Reviewed by Ryosuke Niwa.

The issue is that timezone offset in old Warsaw date was broken because localtime_r's tzdata is broken.
The issue itself was fixed in r218348. This patch adds another test case to ensure this is fixed.

  • complex.yaml:
  • complex/timezone-offset-and-dst-in-warsaw.js: Added.

(shouldBe):

Location:
trunk/JSTests
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JSTests/ChangeLog

    r269350 r269502  
     12020-11-05  Yusuke Suzuki  <ysuzuki@apple.com>
     2
     3        toLocaleDateString() resolves incorrect date for some old dates
     4        https://bugs.webkit.org/show_bug.cgi?id=161623
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        The issue is that timezone offset in old Warsaw date was broken because `localtime_r`'s tzdata is broken.
     9        The issue itself was fixed in r218348. This patch adds another test case to ensure this is fixed.
     10
     11        * complex.yaml:
     12        * complex/timezone-offset-and-dst-in-warsaw.js: Added.
     13        (shouldBe):
     14
    1152020-11-03  Saam Barati  <sbarati@apple.com>
    216
  • trunk/JSTests/complex.yaml

    r269320 r269502  
    3535- path: complex/timezone-offset-before-america-los-angeles-is-defined.js
    3636  cmd: runComplexTest [], [], "TZ=America/Los_Angeles", "--useDollarVM=1"
     37
     38- path: complex/timezone-offset-and-dst-in-warsaw.js
     39  cmd: runComplexTest [], [], "TZ=Europe/Warsaw", "--useDollarVM=1"
Note: See TracChangeset for help on using the changeset viewer.