source: pyyaml/trunk/tests/data/construct-timestamp.code @ 225

Revision 225, 350 bytes checked in by xi, 8 years ago (diff)

Fix timestamp constructing and representing (close #25).

Line 
1{
2    "canonical": datetime.datetime(2001, 12, 15, 2, 59, 43, 100000),
3    "valid iso8601": datetime.datetime(2001, 12, 15, 2, 59, 43, 100000),
4    "space separated": datetime.datetime(2001, 12, 15, 2, 59, 43, 100000),
5    "no time zone (Z)": datetime.datetime(2001, 12, 15, 2, 59, 43, 100000),
6    "date (00:00:00Z)": datetime.date(2002, 12, 14),
7}
Note: See TracBrowser for help on using the repository browser.