<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>218542</bug_id>
          
          <creation_ts>2020-11-03 16:14:21 -0800</creation_ts>
          <short_desc>Incorrect timezone returned for Buenos Aires</short_desc>
          <delta_ts>2021-02-01 02:20:28 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>Safari 14</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>218829</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Wade">mwade</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>smoley</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1704266</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Wade">mwade</who>
    <bug_when>2020-11-03 16:14:21 -0800</bug_when>
    <thetext>1. Set OS timezone to Buenos Aires
2. Open Javascript console and run:

Intl.DateTimeFormat().resolvedOptions().timeZone

Expected result: &quot;America/Argentina/Buenos_Aires&quot;
Actual result: &quot;America/Buenos_Aires&quot;

See https://www.iana.org/time-zones for latest timezones. America/Buenos_Aires is obsolete and not in the latest version, America/Argentina/Buenos_Aires is correct. Issue possibly applies to other timezones in Argentina.

Repeating the same steps above in Firefox gives the expected result: &quot;America/Argentina/Buenos_Aires&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1704283</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-11-03 16:49:25 -0800</bug_when>
    <thetext>Presumably this will fix itself once macOS and iOS have an updated version of ICU?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1704324</commentid>
    <comment_count>2</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-11-03 20:40:49 -0800</bug_when>
    <thetext>Unfortunately, as of now, I think the latest ICU does not handle it correctly.
This is a bug of ICU&apos;s TimeZone canonicalization.
V8 shows the same behavior, because V8 is doing similar thing to JSC, and both shows the wrong result because ICU does not canonicalize it correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1704491</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-11-04 10:42:20 -0800</bug_when>
    <thetext>&lt;rdar://problem/71042560&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>