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

From Microformats Wiki
Jump to navigation Jump to search
Line 39: Line 39:
! test !! [[X2V]] 0.9.7 || [[Operator]] 0.9.5
! test !! [[X2V]] 0.9.7 || [[Operator]] 0.9.5
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--HH-MM]] || {{testpass}} || {{testpass}}
| [[value-dt-test-YYYY-MM-DD--HH-MM]] || {{testpass}} || {{testpartial}}
|-  
|-  
| [[value-dt-test-abbr-YYYY-MM-DD--HH-MM]] || {{testpass}} || {{testpass}}
| [[value-dt-test-abbr-YYYY-MM-DD--HH-MM]] || {{testpass}} || {{testpartial}}
|-  
|-  
| [[value-dt-test-abbr-YYYY-MM-DD-abbr-HH-MM]] || {{testpass}} || {{testpartial}}
| [[value-dt-test-abbr-YYYY-MM-DD-abbr-HH-MM]] || {{testpass}} || {{testpartial}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--HHpm]] || {{testpass}} || {{testpass}}
| [[value-dt-test-YYYY-MM-DD--HHpm]] || {{testpass}} || {{testpartial}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--Hpm-EEpm]] || {{testpass}} || {{testpass}}
| [[value-dt-test-YYYY-MM-DD--Hpm-EEpm]] || {{testpass}} || {{testpartial}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--abbr-HH-MMpm]] || {{testpass}} || {{testpass}}
| [[value-dt-test-YYYY-MM-DD--abbr-HH-MMpm]] || {{testpass}} || {{testpartial}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--12am-12pm]] || {{testpass}} || {{testpass}}
| [[value-dt-test-YYYY-MM-DD--12am-12pm]] || {{testpass}} || {{testpartial}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--H-MMam-Epm]] || {{testpass}} || {{testpass}}
| [[value-dt-test-YYYY-MM-DD--H-MMam-Epm]] || {{testpass}} || {{testpartial}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--0Ham-EEam]] || {{testpass}} || {{testpass}}
| [[value-dt-test-YYYY-MM-DD--0Ham-EEam]] || {{testpass}} || {{testpartial}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--H-MM-SSpm-EE-NN-UUpm]] || {{testpass}} || {{testpass}}
| [[value-dt-test-YYYY-MM-DD--H-MM-SSpm-EE-NN-UUpm]] || {{testpass}} || {{testpartial}}
|-  
|-  
| [[value-dt-test-YYYY-DDD--HH-MM-SS]] || {{testfail}} || {{testpass}}
| [[value-dt-test-YYYY-DDD--HH-MM-SS]] || {{testfail}} || {{testfail}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--HH-MMZ-EE-NN-UUZ]] || {{testpass}} || {{testpass}}
| [[value-dt-test-YYYY-MM-DD--HH-MMZ-EE-NN-UUZ]] || {{testpass}} || {{testfail}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--HH-MM-XX-YY--EE-NN-UU--XXYY]] || {{testpass}} || {{testpass}}
| [[value-dt-test-YYYY-MM-DD--HH-MM-XX-YY--EE-NN-UU--XXYY]] || {{testpass}} || {{testfail}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--HH-MM-XX--EE-NN-UU--Y]] || {{testpass}} || {{testpass}}
| [[value-dt-test-YYYY-MM-DD--HH-MM-XX--EE-NN-UU--Y]] || {{testpass}} || {{testfail}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--HH-MM-SS-XXYY--EE-NN--Z]] || {{testpass}} || {{testpass}}
| [[value-dt-test-YYYY-MM-DD--HH-MM-SS-XXYY--EE-NN--Z]] || {{testpass}} || {{testfail}}
|-  
|-  
| [[value-dt-test-e-title-YYYY-MM-DD--HH-MM]] || {{testpass}} || {{testpass}}
| [[value-dt-test-e-title-YYYY-MM-DD--HH-MM]] || {{testpass}} || {{testpartial}}
|}
|}



Revision as of 11:42, 8 January 2010

<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

error tests

Tests are necessary to make sure implementations aren't "over" implementing some aspects, and properly handling errors in markup, e.g. using the "title" attribute when they shouldn't be.

hAtom

  • ...


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.7 Operator 0.9.5
value-dt-test-YYYY-MM-DD--HH-MM
{{{1}}}
{{{1}}}
value-dt-test-abbr-YYYY-MM-DD--HH-MM
{{{1}}}
{{{1}}}
value-dt-test-abbr-YYYY-MM-DD-abbr-HH-MM
{{{1}}}
{{{1}}}
value-dt-test-YYYY-MM-DD--HHpm
{{{1}}}
{{{1}}}
value-dt-test-YYYY-MM-DD--Hpm-EEpm
{{{1}}}
{{{1}}}
value-dt-test-YYYY-MM-DD--abbr-HH-MMpm
{{{1}}}
{{{1}}}
value-dt-test-YYYY-MM-DD--12am-12pm
{{{1}}}
{{{1}}}
value-dt-test-YYYY-MM-DD--H-MMam-Epm
{{{1}}}
{{{1}}}
value-dt-test-YYYY-MM-DD--0Ham-EEam
{{{1}}}
{{{1}}}
value-dt-test-YYYY-MM-DD--H-MM-SSpm-EE-NN-UUpm
{{{1}}}
{{{1}}}
value-dt-test-YYYY-DDD--HH-MM-SS
{{{1}}}
{{{1}}}
value-dt-test-YYYY-MM-DD--HH-MMZ-EE-NN-UUZ
{{{1}}}
{{{1}}}
value-dt-test-YYYY-MM-DD--HH-MM-XX-YY--EE-NN-UU--XXYY
{{{1}}}
{{{1}}}
value-dt-test-YYYY-MM-DD--HH-MM-XX--EE-NN-UU--Y
{{{1}}}
{{{1}}}
value-dt-test-YYYY-MM-DD--HH-MM-SS-XXYY--EE-NN--Z
{{{1}}}
{{{1}}}
value-dt-test-e-title-YYYY-MM-DD--HH-MM
{{{1}}}
{{{1}}}

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