<?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>161623</bug_id>
          
          <creation_ts>2016-09-06 03:57:45 -0700</creation_ts>
          <short_desc>toLocaleDateString() resolves incorrect date for some old dates</short_desc>
          <delta_ts>2020-12-17 15:48:26 -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>WebKit Nightly Build</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.11</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=218604</see_also>
          <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>
          <dependson>219915</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mariusz Nowak">medikoo+webkit.org</reporter>
          <assigned_to name="Yusuke Suzuki">ysuzuki</assigned_to>
          <cc>andy</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric</cc>
    
    <cc>ggaren</cc>
    
    <cc>joren.broekema</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1226642</commentid>
    <comment_count>0</comment_count>
    <who name="Mariusz Nowak">medikoo+webkit.org</who>
    <bug_when>2016-09-06 03:57:45 -0700</bug_when>
    <thetext>Running following:

(new Date(1969, 8, 26)).toLocaleDateString()

Results with:

&quot;9/25/1969&quot;

While it should result with:

&quot;9/26/1969&quot;

It goes up to around 1977:

&gt; (new Date(1977, 8, 26)).toLocaleDateString()
&lt; &quot;9/25/1977&quot;
&gt; (new Date(1978, 8, 26)).toLocaleDateString()
&lt; &quot;9/26/1978&quot;

Same issue affects V8, although it gets dates after 1970 right -&gt; https://bugs.chromium.org/p/v8/issues/detail?id=5353
No such issue is observed on Firefox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1445744</commentid>
    <comment_count>1</comment_count>
    <who name="Andy VanWagoner">andy</who>
    <bug_when>2018-07-27 10:40:22 -0700</bug_when>
    <thetext>This appears to be working now. Please reopen with additional details, like your local timezone, if you are continuing to see this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446170</commentid>
    <comment_count>2</comment_count>
    <who name="Mariusz Nowak">medikoo+webkit.org</who>
    <bug_when>2018-07-30 00:36:09 -0700</bug_when>
    <thetext>Bug still exists (nothing changed actually)
We still can observe following output:


&gt; (new Date(1977, 8, 26)).toLocaleDateString()
&gt; &quot;9/25/1977&quot;

In latest:
- Safari Technology Preview (Release 61 (Safari 12.0, WebKit 13606.1.25.1))
- WebKit build archives(Version 11.1.2 (13605.3.8, 607+)
- macOS release (Version 11.1.2 (13605.3.8))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446199</commentid>
    <comment_count>3</comment_count>
    <who name="Andy VanWagoner">andy</who>
    <bug_when>2018-07-30 07:06:32 -0700</bug_when>
    <thetext>Can you please run the following and comment the output here?

new Intl.DateTimeFormat().resolvedOptions().timeZone
new Date(1969, 8, 26).getTimezoneOffset()

That would be really helpful for me tracking down the issue, since it works properly in my time zone.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446200</commentid>
    <comment_count>4</comment_count>
    <who name="Mariusz Nowak">medikoo+webkit.org</who>
    <bug_when>2018-07-30 07:07:57 -0700</bug_when>
    <thetext>Sorry I forgot to mention: I&apos;m in Warsaw/Poland so CET timezone</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446344</commentid>
    <comment_count>5</comment_count>
    <who name="Andy VanWagoner">andy</who>
    <bug_when>2018-07-30 13:57:18 -0700</bug_when>
    <thetext>k, I was able to successfully reproduce the issue by setting my mac to Warsaw time.

new Intl.DateTimeFormat().resolvedOptions().timeZone // &quot;Europe/Warsaw&quot;
new Date(1977, 8, 26) // Mon Sep 26 1977 00:00:00 GMT+0200 (CEST)
new Date(1969, 8, 26).getTimezoneOffset() // -120
(new Date(1977, 8, 26)).toLocaleDateString(&apos;en&apos;, { hour: &apos;numeric&apos;, minute: &apos;numeric&apos; }) // &quot;9/25/1977, 11:00 PM&quot;
(new Date(1977, 8, 26, 1)).toLocaleDateString(&apos;en&apos;, { hour: &apos;numeric&apos;, minute: &apos;numeric&apos; }) // &quot;9/26/1977, 12:00 AM&quot;

So the locale formatter timezone ends up an hour different than Date constructor.
Chrome and Firefox differ from Safari in the date constructor behavior:

new Date(1977, 8, 26).getTimezoneOffset()
Chrome, Firefox: -60
Safari: -120

new Date(1977, 8, 26).getTime()
Chrome, Firefox: 244076400000
Safari: 244072800000</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446345</commentid>
    <comment_count>6</comment_count>
    <who name="Andy VanWagoner">andy</who>
    <bug_when>2018-07-30 13:57:53 -0700</bug_when>
    <thetext>There is some code that tries to work around using actually accurate DST information, because the ECMAScript spec specifies that behavior.
https://www.ecma-international.org/ecma-262/5.1/index.html#sec-15.9.1.8
&quot;The implementation of ECMAScript should not try to determine whether the exact time was subject to daylight saving time, but just whether daylight saving time would have been in effect if the current daylight saving time algorithm had been used at the time. This avoids complications such as taking into account the years that the locale observed daylight saving time year round.&quot;

The ES2015 spec appears to change that expectation:
https://www.ecma-international.org/ecma-262/6.0/index.html#sec-daylight-saving-time-adjustment

And the latest drafts make it pretty explicit that historically accurate timezones should be used.
https://tc39.github.io/ecma262/#sec-local-time-zone-adjustment
&quot;The local political rules for standard time and daylight saving time in effect at *t* should be used to determine the result in the way specified in the following three paragraphs.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446471</commentid>
    <comment_count>7</comment_count>
    <who name="Andy VanWagoner">andy</who>
    <bug_when>2018-07-30 20:07:35 -0700</bug_when>
    <thetext>Since this isn&apos;t just a toLocaleString issue, but a date timezone offset issue, it&apos;d probably be best if someone else took a look at it. My naive attempt to simply remove the likely offending code caused a bunch of other issues I&apos;m not sure how to handle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1623416</commentid>
    <comment_count>8</comment_count>
    <who name="Joren Broekema">joren.broekema</who>
    <bug_when>2020-02-27 04:45:56 -0800</bug_when>
    <thetext>I think I was able to reproduce this bug on Safari 13.0.5 for MacOS Mojave 10.14.6, but with Intl.DateTimeFormat. 

console.log(new Intl.DateTimeFormat(&apos;en-GB&apos;).format(new Date(&apos;12/06/1939&apos;))); 

Results in 11/06/1939. So 1 day off.

Strangely, anything between year 1940 and 1945 formats correctly. Then for 1946 up until 1976 it is off by 1 again. 1977 and onwards it seems to be correct, but I didn&apos;t check for all values so not 100% sure there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1625466</commentid>
    <comment_count>9</comment_count>
    <who name="Joren Broekema">joren.broekema</who>
    <bug_when>2020-03-04 02:34:46 -0800</bug_when>
    <thetext>I looked a bit further.
https://en.wikipedia.org/wiki/Daylight_saving_time#History gives some background on why this is happening for certain years. Also, I don&apos;t think Intl is at fault, I have issues with the native Date parsing process

&gt; new Date(&apos;1939-12-06&apos;)
&lt; Wed Dec 06 1939 01:00:00 GMT+0100 (CET)

&gt; new Date(&apos;12/06/1939&apos;)
&lt; Wed Dec 06 1939 00:00:00 GMT+0100 (CET)

So it parses it differently based on how you supply the date string.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1704769</commentid>
    <comment_count>10</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-11-05 00:47:36 -0800</bug_when>
    <thetext>This is because OS `localtime_r`&apos;s timezone information is broken, and it is the same in Linux etc.
This is fixed by using ICU TimeZone instead in bug 218348.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1704772</commentid>
    <comment_count>11</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-11-05 01:00:14 -0800</bug_when>
    <thetext>(In reply to Joren Broekema from comment #9)
&gt; I looked a bit further.
&gt; https://en.wikipedia.org/wiki/Daylight_saving_time#History gives some
&gt; background on why this is happening for certain years. Also, I don&apos;t think
&gt; Intl is at fault, I have issues with the native Date parsing process
&gt; 
&gt; &gt; new Date(&apos;1939-12-06&apos;)
&gt; &lt; Wed Dec 06 1939 01:00:00 GMT+0100 (CET)
&gt; 
&gt; &gt; new Date(&apos;12/06/1939&apos;)
&gt; &lt; Wed Dec 06 1939 00:00:00 GMT+0100 (CET)
&gt; 
&gt; So it parses it differently based on how you supply the date string.

This is different issue from this bug. I think one format is parsed as local time, an the other is parsed UTC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1704774</commentid>
    <comment_count>12</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-11-05 01:01:02 -0800</bug_when>
    <thetext>(In reply to Yusuke Suzuki from comment #11)
&gt; (In reply to Joren Broekema from comment #9)
&gt; &gt; I looked a bit further.
&gt; &gt; https://en.wikipedia.org/wiki/Daylight_saving_time#History gives some
&gt; &gt; background on why this is happening for certain years. Also, I don&apos;t think
&gt; &gt; Intl is at fault, I have issues with the native Date parsing process
&gt; &gt; 
&gt; &gt; &gt; new Date(&apos;1939-12-06&apos;)
&gt; &gt; &lt; Wed Dec 06 1939 01:00:00 GMT+0100 (CET)
&gt; &gt; 
&gt; &gt; &gt; new Date(&apos;12/06/1939&apos;)
&gt; &gt; &lt; Wed Dec 06 1939 00:00:00 GMT+0100 (CET)
&gt; &gt; 
&gt; &gt; So it parses it differently based on how you supply the date string.
&gt; 
&gt; This is different issue from this bug. I think one format is parsed as local
&gt; time, an the other is parsed UTC.

https://bugs.webkit.org/show_bug.cgi?id=218604</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1704777</commentid>
    <comment_count>13</comment_count>
      <attachid>413271</attachid>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-11-05 01:04:10 -0800</bug_when>
    <thetext>Created attachment 413271
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1704778</commentid>
    <comment_count>14</comment_count>
      <attachid>413272</attachid>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-11-05 01:06:32 -0800</bug_when>
    <thetext>Created attachment 413272
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1705113</commentid>
    <comment_count>15</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2020-11-05 20:19:01 -0800</bug_when>
    <thetext>Committed r269502: &lt;https://trac.webkit.org/changeset/269502&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 413272.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1705115</commentid>
    <comment_count>16</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-11-05 20:20:22 -0800</bug_when>
    <thetext>&lt;rdar://problem/71105838&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1714891</commentid>
    <comment_count>17</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2020-12-15 13:20:20 -0800</bug_when>
    <thetext>Re-opened since this is blocked by bug 219915</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1715574</commentid>
    <comment_count>18</comment_count>
    <who name="Eric Casthart">eric</who>
    <bug_when>2020-12-17 15:02:29 -0800</bug_when>
    <thetext>The patch landed for this appears to only address issues with Europe/Warsaw dates. I&apos;m experiencing an issue like this in Safari 14.0.2 (15610.3.7.1.10, 15610) however in America/New_York with some relatively more recent dates. Some examples:

Wrong:

new Date(1983, 2, 27).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;3/26/1983&quot;
new Date(1983, 3, 15).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;4/14/1983&quot;
new Date(1983, 3, 24).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;4/23/1983&quot;

Correct:

new Date(1983, 0, 27).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;1/27/1983&quot;
new Date(1983, 1, 27).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;2/27/1983&quot;
new Date(1983, 3, 27).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;3/27/1983&quot;
new Date(1983, 3, 25).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;4/25/1983&quot;

Significantly, US DST in 1983 started April 24.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1715591</commentid>
    <comment_count>19</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-12-17 15:41:20 -0800</bug_when>
    <thetext>(In reply to Eric Casthart from comment #18)
&gt; The patch landed for this appears to only address issues with Europe/Warsaw
&gt; dates. I&apos;m experiencing an issue like this in Safari 14.0.2 (15610.3.7.1.10,
&gt; 15610) however in America/New_York with some relatively more recent dates.
&gt; Some examples:
&gt; 
&gt; Wrong:
&gt; 
&gt; new Date(1983, 2, 27).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;3/26/1983&quot;
&gt; new Date(1983, 3, 15).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;4/14/1983&quot;
&gt; new Date(1983, 3, 24).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;4/23/1983&quot;
&gt; 
&gt; Correct:
&gt; 
&gt; new Date(1983, 0, 27).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;1/27/1983&quot;
&gt; new Date(1983, 1, 27).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;2/27/1983&quot;
&gt; new Date(1983, 3, 27).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;3/27/1983&quot;
&gt; new Date(1983, 3, 25).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;4/25/1983&quot;
&gt; 
&gt; Significantly, US DST in 1983 started April 24.

Please test it with Safari Technology Preview :)
Safari 14.0.2 does not include the patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1715592</commentid>
    <comment_count>20</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-12-17 15:41:45 -0800</bug_when>
    <thetext>The reverted patch is once integrated since we workaround ICU missing API issue differently.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1715596</commentid>
    <comment_count>21</comment_count>
    <who name="Eric Casthart">eric</who>
    <bug_when>2020-12-17 15:46:23 -0800</bug_when>
    <thetext>Ahh, I didn&apos;t think to try it because the diff seemed specific to Warsaw. But I can confirm that the wrong examples I provided below are now working as expected with Technology Preview Release 117 (Safari 14.1, WebKit 15611.1.7.2).

Thanks!

(In reply to Yusuke Suzuki from comment #19)
&gt; (In reply to Eric Casthart from comment #18)
&gt; &gt; The patch landed for this appears to only address issues with Europe/Warsaw
&gt; &gt; dates. I&apos;m experiencing an issue like this in Safari 14.0.2 (15610.3.7.1.10,
&gt; &gt; 15610) however in America/New_York with some relatively more recent dates.
&gt; &gt; Some examples:
&gt; &gt; 
&gt; &gt; Wrong:
&gt; &gt; 
&gt; &gt; new Date(1983, 2, 27).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;3/26/1983&quot;
&gt; &gt; new Date(1983, 3, 15).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;4/14/1983&quot;
&gt; &gt; new Date(1983, 3, 24).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;4/23/1983&quot;
&gt; &gt; 
&gt; &gt; Correct:
&gt; &gt; 
&gt; &gt; new Date(1983, 0, 27).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;1/27/1983&quot;
&gt; &gt; new Date(1983, 1, 27).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;2/27/1983&quot;
&gt; &gt; new Date(1983, 3, 27).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;3/27/1983&quot;
&gt; &gt; new Date(1983, 3, 25).toLocaleDateString(&apos;en-US&apos;) -&gt; &quot;4/25/1983&quot;
&gt; &gt; 
&gt; &gt; Significantly, US DST in 1983 started April 24.
&gt; 
&gt; Please test it with Safari Technology Preview :)
&gt; Safari 14.0.2 does not include the patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1715600</commentid>
    <comment_count>22</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-12-17 15:48:26 -0800</bug_when>
    <thetext>(In reply to Eric Casthart from comment #21)
&gt; Ahh, I didn&apos;t think to try it because the diff seemed specific to Warsaw.
&gt; But I can confirm that the wrong examples I provided below are now working
&gt; as expected with Technology Preview Release 117 (Safari 14.1, WebKit
&gt; 15611.1.7.2).
&gt; 
&gt; Thanks!


Awesome!!!!!! Thanks for testing :D</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>413271</attachid>
            <date>2020-11-05 01:04:10 -0800</date>
            <delta_ts>2020-11-05 01:06:31 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-161623-20201105010409.patch</filename>
            <type>text/plain</type>
            <size>1703</size>
            <attacher name="Yusuke Suzuki">ysuzuki</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjY5NDE5CmRpZmYgLS1naXQgYS9KU1Rlc3RzL0NoYW5nZUxv
ZyBiL0pTVGVzdHMvQ2hhbmdlTG9nCmluZGV4IDJhNGY5YTY5YjdmODMzZWM2Y2JhYzkyOWVlMzcy
ZjQ3NTQ3MjZjOGMuLmRlYTE1ZGVjYWEzNGZkZWNkNjA3NDYwMjJjMGVlZTI1YTEzYWY1MWUgMTAw
NjQ0Ci0tLSBhL0pTVGVzdHMvQ2hhbmdlTG9nCisrKyBiL0pTVGVzdHMvQ2hhbmdlTG9nCkBAIC0x
LDMgKzEsMTQgQEAKKzIwMjAtMTEtMDUgIFl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Eb2xsYXJWTT0xIgorCistIHBhdGg6IGNvbXBsZXgv
dGltZXpvbmUtb2Zmc2V0LWFuZC1kc3QtaW4td2Fyc2F3LmpzCisgIGNtZDogcnVuQ29tcGxleFRl
c3QgW10sIFtdLCAiVFo9RXVyb3BlL1dhcnNhdyIsICItLXVzZURvbGxhclZNPTEiCmRpZmYgLS1n
aXQgYS9KU1Rlc3RzL2NvbXBsZXgvdGltZXpvbmUtb2Zmc2V0LWFuZC1kc3QtaW4td2Fyc2F3Lmpz
IGIvSlNUZXN0cy9jb21wbGV4L3RpbWV6b25lLW9mZnNldC1hbmQtZHN0LWluLXdhcnNhdy5qcwpu
ZXcgZmlsZSBtb2RlIDEwMDY0NAppbmRleCAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAw
MDAwMDAwMDAwLi5hNWZmYzdjMTQxNDAxOGY0YWQ2YmNjNDk3ZTMyYmI1MjQzYTlmM2E0Ci0tLSAv
ZGV2L251bGwKKysrIGIvSlNUZXN0cy9jb21wbGV4L3RpbWV6b25lLW9mZnNldC1hbmQtZHN0LWlu
LXdhcnNhdy5qcwpAQCAtMCwwICsxLDYgQEAKK2Z1bmN0aW9uIHNob3VsZEJlKGFjdHVhbCwgZXhw
ZWN0ZWQpIHsKKyAgICBpZiAoYWN0dWFsICE9PSBleHBlY3RlZCkKKyAgICAgICAgdGhyb3cgbmV3
IEVycm9yKCdiYWQgdmFsdWU6ICcgKyBhY3R1YWwpOworfQorCitzaG91bGRCZSgobmV3IERhdGUo
MTk2OSwgOCwgMjYpKS50b0xvY2FsZURhdGVTdHJpbmcoKSwgYDkvMjYvMTk2OWApOwo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>413272</attachid>
            <date>2020-11-05 01:06:32 -0800</date>
            <delta_ts>2020-11-05 20:19:02 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-161623-20201105010631.patch</filename>
            <type>text/plain</type>
            <size>1927</size>
            <attacher name="Yusuke Suzuki">ysuzuki</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjY5NDE5CmRpZmYgLS1naXQgYS9KU1Rlc3RzL0NoYW5nZUxv
ZyBiL0pTVGVzdHMvQ2hhbmdlTG9nCmluZGV4IDJhNGY5YTY5YjdmODMzZWM2Y2JhYzkyOWVlMzcy
ZjQ3NTQ3MjZjOGMuLjZjMzliZjFhNmQyZTRhM2ZkZWI3Y2JkMzdkNmNkN2U2ZWJjMmY3ODQgMTAw
NjQ0Ci0tLSBhL0pTVGVzdHMvQ2hhbmdlTG9nCisrKyBiL0pTVGVzdHMvQ2hhbmdlTG9nCkBAIC0x
LDMgKzEsMTcgQEAKKzIwMjAtMTEtMDUgIFl1c3VrZSBTdXp1a2kgIDx5c3V6dWtpQGFwcGxlLmNv
bT4KKworICAgICAgICB0b0xvY2FsZURhdGVTdHJpbmcoKSByZXNvbHZlcyBpbmNvcnJlY3QgZGF0
ZSBmb3Igc29tZSBvbGQgZGF0ZXMKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hv
d19idWcuY2dpP2lkPTE2MTYyMworCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEp
LgorCisgICAgICAgIFRoZSBpc3N1ZSBpcyB0aGF0IHRpbWV6b25lIG9mZnNldCBpbiBvbGQgV2Fy
c2F3IGRhdGUgd2FzIGJyb2tlbiBiZWNhdXNlIGBsb2NhbHRpbWVfcmAncyB0emRhdGEgaXMgYnJv
a2VuLgorICAgICAgICBUaGUgaXNzdWUgaXRzZWxmIHdhcyBmaXhlZCBpbiByMjE4MzQ4LiBUaGlz
IHBhdGNoIGFkZHMgYW5vdGhlciB0ZXN0IGNhc2UgdG8gZW5zdXJlIHRoaXMgaXMgZml4ZWQuCisK
KyAgICAgICAgKiBjb21wbGV4LnlhbWw6CisgICAgICAgICogY29tcGxleC90aW1lem9uZS1vZmZz
ZXQtYW5kLWR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