[whatwg] Type Date

Garrett Smith dhtmlkitchen at gmail.com
Thu May 6 18:50:38 PDT 2010


On Thu, May 6, 2010 at 6:30 PM, TAMURA, Kent <tkent at chromium.org> wrote:
>
>
> On Fri, May 7, 2010 at 06:41, Garrett Smith <dhtmlkitchen at gmail.com> wrote:
>>
>> Opera has native support that mostly works but failed with dates prior
>> to 1582, last I checked.
>
> This seems reasonable.  Gregorian calendar started in 1582.

ISO 8601 requires Proleptic Gregorian, including year 0000.  Aside
from that, the implementation should follow the pertinent
specification.

That specification in this case is HTML 5 draft. Opera's
implementation of input type="date", should not, without good reason,
deviate from what is specified in the draft.

If what is specified needs changing, then the Opera folks should
(re)raise those issues.

The control itself is indeed buggy in Opera. Setting `value` does not
seem to work properly; typing a year with the "year" field focused
does nothing; hitting "delete" with year focused results in location
history navigation ("back").

Opera should fix that thing.

Garrett


More information about the whatwg mailing list