Microformats test suite

hCalendar 6 - ISO date format test - W3C Note DateTime profile

This page was design to comprehensively test the W3C Note DateTime profile. The IsEqualToISODate method normalisation and compares dates.

From: hCalendar test suite 1.0

Author: Glenn Jones

Tests:

Test Result Comment
vevent[0].dtstart IsEqualToISODate("2007") Should find a date from text node - Year
vevent[1].dtstart IsEqualToISODate("2007-05") Should find a date from text node - Year and month
vevent[2].dtstart IsEqualToISODate("2007-05-01") Should find a date from text node - Year, month and day
vevent[3].dtstart IsEqualToISODate("2007-05-01T21:30") Should find a date from text node - Year, month, day and time
vevent[4].dtstart IsEqualToISODate("2007-05-01T21:30Z") Should find a date from text node - UTC Year, month, day and time
vevent[5].dtstart IsEqualToISODate("2007-05-01T21:30:00Z") Should find a date from text node - UTC Year, month, day and time
vevent[6].dtstart IsEqualToISODate("2007-05-01T21:30+08:00") Should find a date from text node - Year, month, day and time with time zone offset
vevent[7].dtstart IsEqualToISODate("2007-05-01T21:30:00+08:00") Should find a date from text node - Year, month, day and time with time zone offset
vevent[8].dtstart IsEqualToISODate("2007-05-01T21:30:00.0150") Should find a date from text node - Year, month, day and time with decimal fraction of a second

History:

Web Standards meet up
Starts: 1 June
1.example.com
Web Standards meet up
Starts: 1 June
2.example.com
Web Standards meet up
Starts: 1 June
3.example.com
Web Standards meet up
Starts: 1 June
4.example.com
Web Standards meet up
Starts: 1 June
5.example.com
Web Standards meet up
Starts: 1 June
6.example.com
Web Standards meet up
Starts: 1 June
7.example.com
Web Standards meet up
Starts: 1 June
8.example.com
Web Standards meet up
Starts: 1 June
8.example.com

Some rights reserved