[whatwg] brief question on 2.4.5 Dates and times

Tab Atkins Jr. jackalmage at gmail.com
Wed Aug 26 06:12:21 PDT 2009


On Tue, Aug 25, 2009 at 9:01 PM, Silvia
Pfeiffer<silviapfeiffer1 at gmail.com> wrote:
> Hi,
>
> I am trying to use the specification of Dates and times given in section
> 2.4.5.
>
> I was surprised to find that there is a specification of a valid month
> string, but not of a valid year string or a valid day string. Is that an
> oversight?

Isn't a valid day string just a normal date string?  The month string
is "month-year", after all, not just "month".

A year string by itself isn't useful in the current spec, as there's
nothing that would consume it.  <time> uses a date or datetime, and
the various inputs all use times, dates, weeks, or months.

~TJ



More information about the whatwg mailing list