fixed timezone
This commit is contained in:
@@ -33,7 +33,9 @@ def create_timestamp(with_ms=True):
|
||||
|
||||
res = now.strftime('%Y-%m-%dT%H:%M:%S')
|
||||
if with_ms:
|
||||
res += ('.%03dZ' % (now.microsecond / 1000))
|
||||
res += ('.%03d' % (now.microsecond / 1000))
|
||||
|
||||
res += 'Z'
|
||||
return res
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user