Fix RFC3339 representation

Must be at most 1-digit millisecond.
This commit is contained in:
Marcel Stör
2018-04-27 23:20:28 +02:00
parent 5525beda31
commit a2bff42439
+1 -1
View File
@@ -277,7 +277,7 @@ class MayaDT(object):
def rfc3339(self):
"""Returns an RFC 3339 representation of the MayaDT."""
return self.datetime().strftime("%Y-%m-%dT%H:%M:%S.%f")[:-4] + "Z"
return self.datetime().strftime("%Y-%m-%dT%H:%M:%S.%f")[:-5] + "Z"
# Properties
# ----------