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: Ben Schwarz <ben.schwarz@gmail.com>
Date: Mon, 9 Aug 2010 11:59:46 +1000
Message-ID: <AANLkTim7qLpjtETOcc51bvaoaYXX5WQwEUSsOykTXWqW@mail.gmail.com>
Because you can find an example isn't exactly what I would call a "use
case". Nor were those pages examples of best practice in any way, shape or
form.

I'd prefer that someone who really cares about this as a problem designs the
best case solution for the problem that you've highlighted here, rather than
shoehorning it in.

Is there someone on this list who feels passionately enough to make some
working examples and demos?


On Mon, Aug 9, 2010 at 11:42 AM, 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100809/6ac74255/attachment.htm>
Received on Sunday, 8 August 2010 18:59:46 UTC

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