[whatwg] Please consider adding a couple more datetime <input> types - type="year" and type="month-day"

Henri Sivonen hsivonen at iki.fi
Tue Aug 24 03:38:57 PDT 2010


On Aug 9, 2010, at 04:07, Tantek Çelik wrote:

> * it has the *semantic* of being a year, which is a special type of
> number (potentially more than four digits if you subscribe to "Long
> Now"[1] methodology, or fewer than four as Andy noted).

Why is it useful to declare this semantic to the browser? What functional difference do you envision compared to a field that accepts an integer (potentially with min and max values relevant to the site)?

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/





More information about the whatwg mailing list