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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>22679</bug_id>
          
          <creation_ts>2013-07-15 23:43:13 +0000</creation_ts>
          <short_desc>API to expose locale-specific settings</short_desc>
          <delta_ts>2016-03-22 14:53:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          <see_also>https://www.w3.org/Bugs/Public/show_bug.cgi?id=21289</see_also>
    
    <see_also>https://www.w3.org/Bugs/Public/show_bug.cgi?id=17859</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Needs Impl Interest</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ian &apos;Hixie&apos; Hickson">ian</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>addison</cc>
    
    <cc>annevk</cc>
    
    <cc>cmhjones</cc>
    
    <cc>ian</cc>
    
    <cc>marcosscaceres</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>90767</commentid>
    <comment_count>0</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-07-15 23:43:13 +0000</bug_when>
    <thetext>Bronislav Klučka points out that you can&apos;t, e.g., render a calendar using the user&apos;s (locale&apos;s) first week day, currently. CSS will likely offer ways to localise rendering of dates, times, numbers, etc, but that doesn&apos;t cover everything you might need.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109149</commentid>
    <comment_count>1</comment_count>
    <who name="Addison Phillips">addison</who>
    <bug_when>2014-07-21 21:27:26 +0000</bug_when>
    <thetext>Can you explain further? What does &quot;API&quot; mean in this context?

Bug 17859 suggests that content markup might be used to address the page author&apos;s intentions regarding formatting. E.g. that a page in Czech that renders a calendar in Czech could format a calendar on that page using Czech locale rules (first day of week, weekend, day names/abbreviations, etc. etc.)

There may be cases where the page author intends the page the use or would like to have access to the user-agent&apos;s locale preferences. That also needs specification.

The advent of the JavaScript intl extension might help in terms of &quot;API support&quot;, but since this is an HTML bug and, as Ian points out, CSS probably needs to provide ways of doing this, a clear HTML locale model is probably implied.

In my opinion, this should be based on the existing language tagging model (using the @lang attribute). I think Ian disagrees.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109221</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-07-23 18:08:19 +0000</bug_when>
    <thetext>By &quot;render a calendar&quot; I mean generate &lt;table&gt; markup from script. By API I mean something like the JavaScript intl extensions, maybe in fact that very API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125596</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-03-22 14:53:17 +0000</bug_when>
    <thetext>Let&apos;s leave this particular feature for TC39 to sort through.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>