[whatwg] Please consider allowing the <time> element to accept coarser granularity dates

Tantek Çelik tantek at cs.stanford.edu
Sat Aug 7 02:25:53 PDT 2010

Summary: the new <time> element is very useful for absolute dates and
times, but omits several useful granularity levels, in particular for

The following additional date granularities would be useful, and are
fairly straightforward to incorporate into the spec (and

* year only: YYYY
* year-month only:  YYYY-MM (also corresponds to output form of input
* year-week only: YYYY-WNN (also corresponds to output form of input type=week)
* month-day only: --MM-DD (common birthdays without year use case)

More details, use-cases, research here:

I encourage fellow web authors and browser implementers to add their
opinions/comments to that wiki page section.

Note that there are additional proposals on that page - I'm sending
one email per proposal (or strongly related set of proposals) to
better track them separately. Feel free to read through and comment on
other proposals on the page as well.



http://tantek.com/ - I made an HTML5 tutorial! http://tantek.com/html5

More information about the whatwg mailing list