<?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>16965</bug_id>
          
          <creation_ts>2012-05-07 17:25:09 +0000</creation_ts>
          <short_desc>i18n-ISSUE-97: Allowing a page to request a given locale (4.10.7.2 normativity)</short_desc>
          <delta_ts>2016-04-18 23:21:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Addison Phillips">addison</reporter>
          <assigned_to name="Robin Berjon">robin</assigned_to>
          <cc>cmhjones</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>public-i18n-core</cc>
    
    <cc>robin</cc>
    
    <cc>travil</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>67400</commentid>
    <comment_count>0</comment_count>
    <who name="Addison Phillips">addison</who>
    <bug_when>2012-05-07 17:25:09 +0000</bug_when>
    <thetext>4.10.7.1.7 Date and Time state
http://dev.w3.org/html5/spec/single-page.html#date-and-time-state-type-datetime

--
The format shown to the user is independent of the format used for form submission. Browsers are encouraged to use user interfaces that present dates and times according to the conventions of the user&apos;s preferred locale.
--

Should we encourage the use of the *page&apos;s* preferred locale? It would be best if we could provide a way for page authors to create a consistent user experience. Work on the ECMAScript I18N extension may eventually help here, but only for formatting displayed values---this section seems to imply that the user agent have a built-in date/time control set that may not be scriptable. Although a given user agent won&apos;t necessarily support the requested locale, we would suggest providing a &lt;form&gt; attribute or a field attribute to allow the page itself to request a given locale using a BCP 47 language tag.

The I18N WG feels that this could be accomplished by making section 4.10.7.2 normative.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70189</commentid>
    <comment_count>1</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 07:05:07 +0000</bug_when>
    <thetext>This bug was cloned to create bug 17859 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102037</commentid>
    <comment_count>2</comment_count>
    <who name="Addison Phillips">addison</who>
    <bug_when>2014-03-06 23:32:56 +0000</bug_when>
    <thetext>See also: https://www.w3.org/Bugs/Public/show_bug.cgi?id=16165

Number formats are also affected here. I think that this remains a significant gap in HTML, since having controls like dates or numbers be consistent with the page in which they appear is more pleasing to the author (and potentially less confusing to users) than having the controls be strictly in the locale of the user-agent&apos;s runtime.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125901</commentid>
    <comment_count>3</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2016-04-18 23:21:51 +0000</bug_when>
    <thetext>HTML5.1 Bugzilla Bug Triage: Already Fixed

See: http://w3c.github.io/html/sec-forms.html#implementation-notes

&gt; Browsers are encouraged to use user interfaces that present dates, times, and numbers according to the conventions of either the locale implied by the input element’s language or the user’s preferred locale. Using the page’s locale will ensure consistency with page-provided data.

So, the language should be considered. Since there are already well-defined means of adding language information another new attribute isn&apos;t necessary.

If this resolution is not satisfactory, please copy the relevant bug details/proposal into a new issue at the W3C HTML5 Issue tracker: https://github.com/w3c/html/issues/new where it will be re-triaged. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>