<?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>17638</bug_id>
          
          <creation_ts>2012-06-28 18:59:46 +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 the Hebrew and Arabic civil calendars. The step function for example is by whole months from January 1970. Wit</short_desc>
          <delta_ts>2012-08-26 03:08:59 +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>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#month-state-(type=month)</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>69510</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-06-28 18:59:46 +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#month-state-(type=month)
Complete: http://www.whatwg.org/c#month-state-(type=month)

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 the Hebrew
and Arabic civil calendars. The step function for example is by whole months
from January 1970. Without knowing the calendar type, you cannot validly
return the number of months between January 1970 (Gregorian) and some month in
the Hebrew calendar. The new year starts at a different point in the year, or
sometimes there are 2 Hebrew new years within one Gregorian year. Perhaps an
optional &quot;calendar&quot; attribute on the input tag as well with a list of possible
values like &quot;gregorian&quot; (default), &quot;hebrew&quot;, &quot;arabic&quot;, and &quot;chinese&quot;.

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>70997</commentid>
    <comment_count>1</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:53:28 +0000</bug_when>
    <thetext>This bug was cloned to create bug 18265 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72780</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-08-26 03:08:59 +0000</bug_when>
    <thetext>It is explicitly called out. The section&apos;s second paragraph says &quot;The input element represents a control for setting the element&apos;s value to a string representing a specific month&quot;, where &quot;month&quot; is defined (and the definition linked to by a hyperlink) as &quot;A month consists of a specific proleptic Gregorian date with no time-zone information and no date information beyond a year and a month&quot; along with a reference defining the Gregorian calendar.

I&apos;m happy to consider controls that expose months in other calendars, please file bugs describing the use cases for those controls. (The main use case for type=month is credit card expiry date controls.)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>