W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

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

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 24 Aug 2010 13:38:57 +0300
Message-ID: <FD30ED4D-DFD8-4DBF-8E14-9A658CB6D6BA@iki.fi>
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/
Received on Tuesday, 24 August 2010 03:38:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:00 UTC