W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2004

[whatwg] Re: date/time types

From: Dean Edwards <dean@edwards.name>
Date: Fri, 11 Jun 2004 18:15:12 +0100
Message-ID: <40C9E8A0.9020909@edwards.name>
oops! now on list.

Malcolm Rowe wrote:
> Dean Edwards writes:
>> would it be useful to extend the "precision" attribute to cover
>> dates/times? this might eliminate the need for some of the extra
>> input types. but it *is* precision.
> Right, but it's a different type of 'precision' than the 'precision'
>  used for numbers. How would you process <input type="date"
> precision="3dp"> or <input type="number" precision="month">? What
> happens if you change the value of the 'type' attribute via the DOM?
> How do you specify the valid values for 'precision' in a DTD? With
> two separate precision attributes, you don't have these problems. 
> Maybe it's no big deal, but that's what I was talking about, anyway. 
> (shouldn't this be on-list, btw?) Regards, Malcolm
Received on Friday, 11 June 2004 10:15:12 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:34 UTC