<?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>17640</bug_id>
          
          <creation_ts>2012-06-28 19:13:53 +0000</creation_ts>
          <short_desc>This type assumes a Gregorian calendar. Either this should be explicit called out here, or this type should be rethought to be more inclusive of other calendars.The text &quot;midnight UTC on the morning of the parsed date&quot; should be &quot;the midnight UTC that is</short_desc>
          <delta_ts>2012-07-27 09:41:11 +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>NEEDSINFO</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#date-state-(type=date)</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>edwin_hoogerbeets</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>69512</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-06-28 19:13:53 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html
Multipage: http://www.whatwg.org/C#date-state-(type=date)
Complete: http://www.whatwg.org/c#date-state-(type=date)

Comment:
This type assumes a Gregorian calendar. Either this should be explicit called
out here, or this type should be rethought to be more inclusive of other
calendars.The text &quot;midnight UTC on the morning of the parsed date&quot; should be
&quot;the midnight UTC that is contained within parsed date&quot; because days start at
different times in other calendars.. 

Posted from: 67.180.233.222
User agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71001</commentid>
    <comment_count>1</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:53:54 +0000</bug_when>
    <thetext>This bug was cloned to create bug 18267 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71561</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-07-27 02:09:05 +0000</bug_when>
    <thetext>Is this bug asking about the UI or the wire format?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71599</commentid>
    <comment_count>3</comment_count>
    <who name="Edwin Hoogerbeets">edwin_hoogerbeets</who>
    <bug_when>2012-07-27 09:41:11 +0000</bug_when>
    <thetext>For the UI. 

I think for an actually useful input field of type &quot;datetime&quot;, the user should be able to enter dates in different date/time formats depending on their locale or the locale of the web page. This format will need to be converted to the standard global date and time format (that&apos;s what you mean by &quot;wire format&quot;, right?) before being sent to the web server.

But, as far as I can tell from the standard, you had intended that anything the user can type into this type of input field can only be a specific format of the Gregorian calendar. That is, I cannot type &quot;24 Tammuz 5772&quot; or &quot;5772-04-24&quot; and have the browser recognize the date in the Hebrew calendar and convert it to the equivalent Gregorian global date and time value and submit that to the web server. (Though as an i18n guy, I&apos;d love to be able to specify the attribute calendar=&quot;hebrew&quot; and have behave that way!) 

So all I&apos;m saying with this bug is that the description in this section of the standard should be explicit that this value is intended to be Gregorian date/times only. (This is already hinted in the green comment text underneath it.)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>