Ensure to specify Z for UTC in iso8601 date. Fixes #388

This commit is contained in:
Matt Martz 2017-04-24 13:32:35 -05:00
parent ceef55488c
commit 955a756c96
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ except ImportError:
gzip = None
GZIP_BASE = object
__version__ = '1.0.5'
__version__ = '1.0.6a'
class FakeShutdownEvent(object):
@ -628,7 +628,7 @@ class SpeedtestResults(object):
else:
self.server = server
self._share = None
self.timestamp = datetime.datetime.utcnow().isoformat()
self.timestamp = '%sZ' % datetime.datetime.utcnow().isoformat()
self.bytes_received = 0
self.bytes_sent = 0