HTML/time: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(→‎nesting time: recorded on WHATWG wiki)
(→‎expand time: posted more date granularity)
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
*** email to whatwg to be posted.
** more inputs/times. expand both time/[[HTML5/input|input]] to handle additional real world cases, e.g.: YYYY and --MM-DD
** more inputs/times. expand both time/[[HTML5/input|input]] to handle additional real world cases, e.g.: YYYY and --MM-DD
*** recorded/expanded on the WHATWG wiki:  
*** recorded/expanded on the WHATWG wiki:  
**** http://wiki.whatwg.org/wiki/Time_element#impedance_match_new_date_time_inputs
**** http://wiki.whatwg.org/wiki/Time_element#impedance_match_new_date_time_inputs
**** http://wiki.whatwg.org/wiki/Input_element#new_date_time_inputs
**** http://wiki.whatwg.org/wiki/Input_element#new_date_time_inputs
*** 2010-08-07 posted more date granularity: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/027722.html
*** more inputs to be posted perhaps on [[HTML5/input|input]] page.


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

Revision as of 09:29, 7 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

Recorded on WHATWG wiki: http://wiki.whatwg.org/wiki/Time_element#composite_nested_time_elements

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