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: Jonathan Castello <twisolar@gmail.com>
Date: Sun, 8 Aug 2010 18:49:56 -0700
Message-ID: <AANLkTinSPed6_k_5XKP9FOcOM33B5FAhow6UYywt3cfo@mail.gmail.com>
On Sun, Aug 8, 2010 at 6:42 PM, Andy Mabbett <andy at pigsonthewing.org.uk> wrote:
> 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
>

Couldn't the BC/AD case be handled intuitively by a dropdown right
next to the year field that contains those two options?

-- 
~Jonathan Castello

P.S. I'm new to the list, don't kill me!
Received on Sunday, 8 August 2010 18:49:56 UTC

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