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, 31 Aug 2010 12:06:12 +0200
Message-ID: <E95A8770-9A59-4A90-BBFA-BF4F38F71700@crissov.de>
I?m not sure, but I think it?s at your end that character encodings get garbled.

Ian Hickson:
> On Tue, 24 Aug 2010, Christoph P?per wrote:
>> 
>> - Input two-digit year, transmit four-digit year.
> 
> Do sites really want to support two-digit years?

Not sites, year input widgets!

>> - Input year name or number in a different system (including ?AD?/?BC?/?CE?, emperor eras etc.), transmit proleptic Gregorian year number.
> 
> Non-contemporary dates aren't in the most common 80% of use cases,

?2010 AD? is contemporary (although too verbose for most use cases). 
It?s just about what the user enters and sees, not about what gets to the server.

My sole point was that ?year? is not always conceptually a 4-digit number for the users, but it should always be when it arrives at the server. This includes the Japanese use case.

> Are any browsers interested in implementing such a feature?

The OS I?m using at home supports 12 kinds of calendars, other popular OSes probably have similar i18n support. Why shouldn?t browsers?
Received on Tuesday, 31 August 2010 03:06:12 UTC

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