Skip to content

date-time should support unlimited number of digits of time-secfrac #143

Open
@rberger

Description

@rberger

It looks like format date-time only supports 3 digits of time-secfrac:

"message" : "string \"2015-01-24T20:45:08.7960Z\" is invalid against requested date format(s) [yyyy-MM-dd'T'HH:mm:ssZ, yyyy-MM-dd'T'HH:mm:ss.SSSZ]"

RFC 3339 defines time-secfrac as:

time-secfrac    = "." 1*DIGIT

which I believe means one or more digits. We have systems that are creating secfracs with 4 or more digits.

Not sure how easy it would be to make it general like that, but it would seem that more than 3 digits is common.

Thanks

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions