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

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