<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Governance issue with the Intl.DateTimeFormat implementation in Discussions</title>
    <link>https://connect.mozilla.org/t5/discussions/governance-issue-with-the-intl-datetimeformat-implementation/m-p/11728#M5338</link>
    <description>&lt;P&gt;I hadn't heard of this object before, and based on the MDN documentation, this almost certainly is over my head. I will just share that link here for context: &lt;A href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl" target="_blank"&gt;https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2022 17:02:10 GMT</pubDate>
    <dc:creator>jscher2000</dc:creator>
    <dc:date>2022-08-08T17:02:10Z</dc:date>
    <item>
      <title>Governance issue with the Intl.DateTimeFormat implementation</title>
      <link>https://connect.mozilla.org/t5/discussions/governance-issue-with-the-intl-datetimeformat-implementation/m-p/11721#M5333</link>
      <description>&lt;P&gt;I would like to talk about the implementation of the ECMA-402 : Internationalization API Specification.&lt;/P&gt;&lt;P&gt;The spec defines the interface of `Intl` objects so browser can offer a unified interface. It also give guidelines about the implementation.&lt;/P&gt;&lt;P&gt;Recently I stumbled upon a weird behaviour. I asked `Intl.DateTimeFormat` to format a date with `numeric` days. And it wouldn't give me anything else than a `2-digit` format, unless I set the month format to&amp;nbsp;`narrow`, `short` or `long`. (&lt;A href="https://codesandbox.io/s/magical-hugle-vx3nl0?file=/src/index.ts" target="_self"&gt;Try it yourself&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Intl implementation is built around &lt;A href="https://github.com/unicode-org/cldr" target="_self"&gt;CLDR&lt;/A&gt; data. It describes itself as `&lt;SPAN&gt;The new home of the Unicode Common Locale Data Repository&lt;/SPAN&gt;`.&lt;BR /&gt;It's great to have a unified repository where we can find presets for date formats.&lt;/P&gt;&lt;P&gt;But my issue is that presets are nothing more than recommendations. The ECMA 402 itself describes interfaces that accept options to define the desired output.&lt;/P&gt;&lt;P&gt;Look at this bug report :&amp;nbsp;&lt;A href="https://bugzilla.mozilla.org/show_bug.cgi?id=1751833#c3" target="_blank"&gt;https://bugzilla.mozilla.org/show_bug.cgi?id=1751833#c3&lt;/A&gt;&lt;BR /&gt;One of the comment is mortifying to me :&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;I believe this is not a bug, as the translator decision should override the developer decision from the components bag. If this is not correct, then I believe the proper place to fix this is in the CLDR translations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The translator decision should override the developer decision&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Have we not learned anything ? Maybe I'm not old enough but when overriding a developer's choice has been the right decision ? At best I'm willing to say it may have been a good thing in some security contextes, but even then I can only recall deprecation notices or warnings.&lt;/P&gt;&lt;P&gt;So my question to you reader is :&lt;/P&gt;&lt;P&gt;Should the Intl implementation still override the developer's format decision in the future releases of Mozilla Firefox ?&lt;/P&gt;&lt;P&gt;I believe it shouldn't, what do you think ?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 14:22:44 GMT</pubDate>
      <guid>https://connect.mozilla.org/t5/discussions/governance-issue-with-the-intl-datetimeformat-implementation/m-p/11721#M5333</guid>
      <dc:creator>JesusTheHun</dc:creator>
      <dc:date>2022-08-08T14:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Governance issue with the Intl.DateTimeFormat implementation</title>
      <link>https://connect.mozilla.org/t5/discussions/governance-issue-with-the-intl-datetimeformat-implementation/m-p/11728#M5338</link>
      <description>&lt;P&gt;I hadn't heard of this object before, and based on the MDN documentation, this almost certainly is over my head. I will just share that link here for context: &lt;A href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl" target="_blank"&gt;https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 17:02:10 GMT</pubDate>
      <guid>https://connect.mozilla.org/t5/discussions/governance-issue-with-the-intl-datetimeformat-implementation/m-p/11728#M5338</guid>
      <dc:creator>jscher2000</dc:creator>
      <dc:date>2022-08-08T17:02:10Z</dc:date>
    </item>
  </channel>
</rss>

