mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-08-04 14:49:36 +00:00
change .utcnow() to .now(datetime.UTC)
This commit is contained in:
parent
22210ca352
commit
4adf644d46
1 changed files with 1 additions and 1 deletions
|
|
@ -957,7 +957,7 @@ class SpeedtestResults(object):
|
|||
self.client = client or {}
|
||||
|
||||
self._share = None
|
||||
self.timestamp = '%sZ' % datetime.datetime.utcnow().isoformat()
|
||||
self.timestamp = '%sZ' % datetime.datetime.now(datetime.UTC).isoformat()
|
||||
self.bytes_received = 0
|
||||
self.bytes_sent = 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue