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: Christoph Päper <christoph.paeper@crissov.de>
Date: Tue, 24 Aug 2010 18:27:00 +0200
Message-ID: <94D2A3ED-9432-4249-849F-66CC35C0DA07@crissov.de>
Henri Sivonen:
> On Aug 9, 2010, at 04:07, Tantek ?elik wrote:
>> * it has the *semantic* of being a year,
> 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 (?)?

- Input two-digit year, transmit four-digit year.
- Input year name or number in a different system (including ?AD?/?BC?/?CE?, emperor eras etc.), transmit proleptic Gregorian year number. (Some calendar eras share their definitions of year length and start, some are close enough to be considered equivalent in practice.)
Received on Tuesday, 24 August 2010 09:27:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:26 UTC