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: Andy Mabbett <andy@pigsonthewing.org.uk>
Date: Mon, 9 Aug 2010 02:42:16 +0100
Message-ID: <2095994699db5f34264f978b9733b8c9.squirrel@webmail.gradwell.com>
On Mon, August 9, 2010 02:19, Ben Schwarz wrote:
> While creating an input that works for every use case you can think of
> sounds like a good idea, I'd like to question weather a user would ever
> *enter
> a date* that would require the inclusion of BC/AD.
>
> I'm certain that there is a requirement to markup such text, but as for *
> entry* I'm strongly of the opinion that you're over cooking this.

It took only seconds to find:

   http://www.guernsey.net/~sgibbs/roman.html

which requires (for some dates) entry of 1, 2, and 3-figure and BC years.

Likewise:

   http://www.smart.net/~mmontes/ec-cal.html

   "Please enter a year after A.D. 325"


Consider also a site allowing a search of an archive of archaeological
finds by year of origin.

-- 
Andy Mabbett
@pigsonthewing
http://pigsonthewing.org.uk
Received on Sunday, 8 August 2010 18:42:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:59 UTC