You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the DateTime does not include the timezone, the Instant.parse() call is generating an exception. java.time.format.DateTimeParseException: Text '2019-01-28T12:00:00' could not be parsed at index 19
The documentation of OCPI 2.2.1 states that it will be possible to receive timestamps without the timezone:
16.2. DateTime type
All timestamps are formatted as string(25) following RFC 3339, with some additional limitations.
All timestamps SHALL be in UTC. The absence of the timezone designator implies a UTC timestamp. Fractional seconds MAY be used.
Example of how timestamps shall be formatted in OCPI, other formats/patterns are not allowed:
When the DateTime does not include the timezone, the
Instant.parse()
call is generating an exception.java.time.format.DateTimeParseException: Text '2019-01-28T12:00:00' could not be parsed at index 19
The documentation of OCPI 2.2.1 states that it will be possible to receive timestamps without the timezone:
The text was updated successfully, but these errors were encountered: