HTML/time: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(→‎expand time: recorded on whatwg wiki)
Line 14: Line 14:
** impedance match. handle the same set of year, month, date, time variants/subsets between the two. what is taken as input is nearly always displayed as output - the use cases are analogous/parallel.
** impedance match. handle the same set of year, month, date, time variants/subsets between the two. what is taken as input is nearly always displayed as output - the use cases are analogous/parallel.
*** recorded/expanded on the WHATWG wiki: http://wiki.whatwg.org/wiki/Time_element#impedance_match_new_date_time_inputs
*** recorded/expanded on the WHATWG wiki: http://wiki.whatwg.org/wiki/Time_element#impedance_match_new_date_time_inputs
** more inputs/times. expand both time/input to handle additional real world cases
** more inputs/times. expand both time/[[HTML5/input|input]] to handle additional real world cases, e.g.: YYYY and --MM-DD
*** YYYY
*** recorded/expanded on the WHATWG wiki:  
*** --MM-DD
**** http://wiki.whatwg.org/wiki/Time_element#impedance_match_new_date_time_inputs
*** recorded/expanded on the WHATWG wiki: http://wiki.whatwg.org/wiki/Input_element
**** http://wiki.whatwg.org/wiki/Input_element#new_date_time_inputs


=== nesting time ===
=== nesting time ===

Revision as of 02:35, 6 August 2010

Welcome to the Mozilla wiki page on the HTML5 <time> element. Please feel free to contribute new test pages or new sections. -- Tantek

This article is a stub. You can help MozillaWiki by expanding it.

time element test pages

  • ...

time element demo pages

  • ...

time element spec issues

expand time

nesting time

for better DRY:

  • improve <time> element to support uses analogous to the microformats "value class pattern" date and time separation use case (compose nested <time> elements into a single date and time)
    • perhaps even use a <time> to compose multiple nested date/time <input> elements for specific date/time components into a single date and/or time.

see also