datetime-design-pattern

From Microformats Wiki
Jump to navigation Jump to search

This page is a draft.

This is a page for exploring a datetime design pattern.

The pattern which is now used in hCalendar and hReview is something like this:

<abbr class="foo" title="YYYYMMDDTHH:MM:SS+ZZZZ">Date Time</abbr>

where foo is the semantic classname which is being applied to this date/time, the title of the <abbr> is an ISO 8601 date/time and "Date Time" is a human-friendly representation of the same date/time.

This pattern is likely to be highly resuable.

--RyanKing

Can this not be viewed as a microformat in itself?

--DimitriGlazkov