all debugging online.

This commit is contained in:
Adam Outler
2025-10-03 22:12:42 +00:00
parent 1e04e9f571
commit ada92715a8
11 changed files with 151 additions and 46 deletions

View File

@@ -957,7 +957,8 @@ class SpeedtestResults(object):
self.client = client or {}
self._share = None
self.timestamp = '%sZ' % datetime.datetime.utcnow().isoformat()
# Use timezone-aware UTC datetime (utcnow() deprecated for removal)
self.timestamp = datetime.datetime.now(datetime.timezone.utc).isoformat().replace('+00:00', 'Z')
self.bytes_received = 0
self.bytes_sent = 0