W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

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

From: Tantek Çelik <tantek@cs.stanford.edu>
Date: Sat, 7 Aug 2010 02:25:53 -0700
Message-ID: <AANLkTi=e7-=gb7C1xbZd3seMhmgc=ney29w0S_10yrjt@mail.gmail.com>
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
Received on Saturday, 7 August 2010 02:25:53 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:26 UTC