We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04918fc + d1d742e commit 0b216deCopy full SHA for 0b216de
1 file changed
tools/pyosmium-up-to-date
@@ -98,7 +98,7 @@ def update_from_custom_server(url, seq, ts, options):
98
ts = ts.timestamp
99
100
if not options.force_update:
101
- cmpdate = dt.datetime.now(dt.UTC) - dt.timedelta(days=90)
+ cmpdate = dt.datetime.now(dt.timezone.utc) - dt.timedelta(days=90)
102
cmpdate = cmpdate.replace(tzinfo=dt.timezone.utc)
103
if ts < cmpdate:
104
log.error(
0 commit comments