Browse Source

Merge "Fix usage of method isotime"

Zuul 1 year ago
parent
commit
17da16f58a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      iotronic/objects/utils.py

+ 1
- 1
iotronic/objects/utils.py View File

@@ -112,7 +112,7 @@ def dt_serializer(name):
112 112
 
113 113
     def serializer(self, name=name):
114 114
         if getattr(self, name) is not None:
115
-            return timeutils.isotime(getattr(self, name))
115
+            return getattr(self, name).isoformat()
116 116
         else:
117 117
             return None
118 118
     return serializer

Loading…
Cancel
Save