Branch: Tag:

2012-09-05

2012-09-05 12:07:18 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug where the month was lost with %a to Calendar.parse.

77:   test_equal( Calendar.ISO.set_timezone("UTC")->parse("%dT%h:%m:%s", "19980717T14:08:55"),    Calendar.ISO.set_timezone("UTC")->parse("%dT%h:%m:%s", "19980717T14:08:55") )    + test_eq(Calendar.parse ("%Y %M %a", "2005 Oct 7"), Calendar.Day (2005, 10, 7)) + test_eq(Calendar.parse ("%Y %a", "2005 7"), Calendar.Day (2005, 1, 7))