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: Tantek Çelik <tantek@cs.stanford.edu>
Date: Sun, 8 Aug 2010 16:20:22 -0700
Message-ID: <AANLkTi=2T9fKcTexD=9PyRUUkx77=0Huq+hK-SM+=YsT@mail.gmail.com>
Summary: the 6 new datetime <input> types are quite useful for a
variety of use-cases but could use 2 more that fit in with the current
set.

In addition to current new absolute types of "date", "week", "month",
it makes sense to add type="year" as well for choosing a year value.

And in addition to the current new relative type of "time", it makes
sense to add type="month-day" as well (for a inputting a month and a
day without a year, e.g. for a birthday without birth year, or for
entering custom annual holidays).

More details, use-cases, research here:

http://wiki.whatwg.org/wiki/Input_element#new_date_time_inputs

I encourage fellow web authors and browser implementers to add their
opinions/comments to that wiki page section.

Thanks!

Tantek

-- 
http://tantek.com/ - I made an HTML5 tutorial! http://tantek.com/html5
Received on Sunday, 8 August 2010 16:20:22 UTC

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