-
Notifications
You must be signed in to change notification settings - Fork 583
Manila may choke on dates with UTC offset #2507
Copy link
Copy link
Open
Description
While reviewing #2496 we noticed that Manila can return dates as ISO 8601 with an UTC offset that the sharedfilesystems module doesn't know how to parse.
We expect the 2006-01-02T15:04:05.999999 format for JSONRFC3339MilliNoZ, which is different from what Manila claims to return:
The date and time stamp format is ISO 8601:
CCYY-MM-DDThh:mm:ss±hh:mm
The ±hh:mm value, if included, returns the time zone as an offset from UTC.
For example, 2019-03-27T09:49:58-05:00.
Playing a little bit with it, it seems to break as soon as the date include an UTC offset: https://go.dev/play/p/pJh7jLgonx6. It looks like we're just being lucky.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels