Difference between revisions of "value-class-date-time-tests"

From Microformats Wiki
value-class-date-time-tests
Jump to navigation Jump to search
(added abbr YYYY-MM-DD test link)
(added table of implementations and test results)
Line 4: Line 4:
  
 
== tests ==
 
== tests ==
 +
Tests grouped by microformat:
 +
 
=== hCalendar ===
 
=== hCalendar ===
* separate YYYY-MM-DD and HH:MM:
+
* [[value-dt-test-YYYY-MM-DD--HH-MM]] - separate YYYY-MM-DD and HH:MM
** [[value-dt-test-YYYY-MM-DD--HH-MM]]
+
* [[value-dt-test-abbr-YYYY-MM-DD--HH-MM]] - separate YYYY-MM-DD in abbr and HH:MM:  
* separate YYYY-MM-DD in abbr and HH:MM:  
+
 
** [[value-dt-test-abbr-YYYY-MM-DD--HH-MM]]
+
== results ==
 +
This table documents implementations that support at least some value class pattern features. As implementations pass at least one of the tests above, they should be added to this table.
 +
{| style="border:1px solid"
 +
! test !! [[X2V]] 0.9.3
 +
|-
 +
| [[value-dt-test-YYYY-MM-DD--HH-MM]] || <div style="text-align:center;background:#cfc ">pass</div>
 +
|-
 +
| [[value-dt-test-abbr-YYYY-MM-DD--HH-MM]] || <div style="text-align:center;background:#cfc">pass</div>
 +
|}
  
 
== old tests ==
 
== old tests ==
Line 16: Line 26:
 
== see also ==
 
== see also ==
 
* [[value-class-pattern]]
 
* [[value-class-pattern]]
 +
* [[value-class-pattern-tests]]

Revision as of 00:39, 7 July 2009

<entry-title>value class pattern date and time tests</entry-title>

This page provides links to individual test case pages for handling date and time values published using the Value Class Pattern.

tests

Tests grouped by microformat:

hCalendar

results

This table documents implementations that support at least some value class pattern features. As implementations pass at least one of the tests above, they should be added to this table.

test X2V 0.9.3
value-dt-test-YYYY-MM-DD--HH-MM
pass
value-dt-test-abbr-YYYY-MM-DD--HH-MM
pass

old tests

The handling of date and time values in the value class pattern was originally brainstormed on the value-excerption-pattern-brainstorming page and the following page of tests was used to make sure pattern both worked for publishers and was reasonably parsable:

see also