swagger_parser icon indicating copy to clipboard operation
swagger_parser copied to clipboard

DateTime format cuts time offset

Open MsProfanum opened this issue 11 months ago • 0 comments

The current toIso8601String() returns the time without the offset which causes problems when the backend requires it and cuts the information about the time offset when converting, for example, to utc format.

Possible solution Option to choose in the parser which option would the user want to choose and adding custom toIso8601StringWithOffset() method that adds offset at the end of the converted DateTime.

MsProfanum avatar Mar 14 '24 08:03 MsProfanum