DateTime fields lose resolution when serialized
Bug #1933964 reported by
Gorka Eguileor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cinderlib |
Fix Released
|
Undecided
|
Gorka Eguileor |
Bug Description
Cinderlib's methods and property that convert objects to json end up losing resolution on DateTime fields.
Since json doesn't have a datetime fields they are stored as strings, but they are not storing subsecond information.
This means that datetime fields that are serialized and then deserialized are different.
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/c/openstack /cinderlib/ +/798633
Review: https:/