value-class-date-time-tests: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(→‎hCalendar: one more related compound test case)
(→‎hCalendar: added more test variants to cover am/pm single/double-digit (non)leading zero variants)
Line 15: Line 15:
* [[value-dt-test-YYYY-MM-DD--HHpm-EEpm]] - separate YYYY-MM-DD, HH "pm" start time, time only EE "pm" hours dtend (imply date from dtstart)
* [[value-dt-test-YYYY-MM-DD--HHpm-EEpm]] - separate YYYY-MM-DD, HH "pm" start time, time only EE "pm" hours dtend (imply date from dtstart)
* [[value-dt-test-YYYY-MM-DD--abbr-HHpm-EEpm]] - separate YYYY-MM-DD, HH "pm" start time in abbr, time only EE "pm" hours dtend (imply date from dtstart)
* [[value-dt-test-YYYY-MM-DD--abbr-HHpm-EEpm]] - separate YYYY-MM-DD, HH "pm" start time in abbr, time only EE "pm" hours dtend (imply date from dtstart)
* [[value-dt-test-YYYY-MM-DD--12am-12pm]] - separate YYYY-MM-DD, 12 "am" start time, time only 12 "pm" dtend (imply date from dtstart)
* [[value-dt-test-YYYY-MM-DD--Ham-Epm]] - separate YYYY-MM-DD, single-digit H "am" start time, time only single-digit E "pm" hours dtend (imply date from dtstart)
* [[value-dt-test-YYYY-MM-DD--0Ham-EEam]] - separate YYYY-MM-DD, single-digit leading zero H "am" start time, time only double-digit EE "am" hours dtend (imply date from dtstart)
* [[value-dt-test-YYYY-MM-DD--Hpm-EEpm]] - separate YYYY-MM-DD, single-digit H "pm" start time, time only double-digit EE "pm" hours dtend (imply date from dtstart)


== results ==
== results ==

Revision as of 20:27, 30 September 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.

short URL
http://tr.im/vcpdt

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
value-dt-test-abbr-YYYY-MM-DD-abbr-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