Skip to content

Problem with deserialization of DateTime with milliseconds part #643

@DominikPalo

Description

@DominikPalo

RestSharp internal Json deserializer cannot handle DateTime format with milliseconds part (e.g. "2014-10-13T22:11:10.000Z") which is used in lot of APIs ("2014-10-13T22:11:10Z" works ok, but "2014-10-13T22:11:10.000Z" causes throwing of DateTime parse exception).

System.FormatException occurred
Message: A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
Additional information: Input string was not in a correct format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions