hoxworth/json-schema — pull request #36 by ILikePies (2012-05-11 09:49:22+00:00)
Title: date-time format and fractional seconds part

Hi,

I'm using json-schema for schema validation for json generated by Json .NET (http://json.codeplex.com/) library. It turns out it serialises dates with decimal fraction for seconds (e.g. 2012-05-11T08:32:45.0304196Z).

According to spec (http://dotat.at/tmp/ISO_8601-2004_E.pdf) either comma or dot can be used as a separator.

I've applied the change to deal with this variation (and also added corresponding test cases).

It would be awesome if you could accept this pull request.

Cheers,
P