remove pytz remnants

This commit is contained in:
Kenneth Kehl
2025-02-24 10:32:39 -08:00
parent b1712964a8
commit cd8564204f
4 changed files with 4 additions and 4 deletions

View File

@@ -226,7 +226,7 @@ def get_scheduled_job_stats(service_id):
jsonify(
count=count,
soonest_scheduled_for=(
soonest_scheduled_for.replace(tzinfo=ZoneInfo.UTC).isoformat()
soonest_scheduled_for.replace(tzinfo=ZoneInfo("UTC")).isoformat()
if soonest_scheduled_for
else None
),