-
Notifications
You must be signed in to change notification settings - Fork 1
Description
We have checks that apply to startTime, endTime, and maybe other datetime properties. We should make sure they follow a consistent pattern for the timestamps.
Sparked by discussion on #40:
Do we need to worry about milliseconds / fractional seconds? Just wondering as auto-generated metadata / libraries may output this and therefore this will fail. Not sure its specified in RFC 3339
Secondly, offsets without colons will fail. e.g from Wikipedia: "...Cairo will be "+02:00","+0200", or "+02"."
Originally posted by @alexhambley in #40 (comment)
I think we should add the fractional seconds (with ',' or '.' as the delimiter).
I think we should retain ':' delimiter in the timezones, I don't know if we should allow only HH though - I couldn't see easily if this was allowed in the strict definition.
Maybe we need an example in our error messages of the format we accept?
Originally posted by @douglowe in #40 (comment)