Skip to content
This repository was archived by the owner on Nov 30, 2025. It is now read-only.

Commit 19360ee

Browse files
committed
fix checker.py
1 parent 9f1587b commit 19360ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

checker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import requests
22
import json
3-
from datetime import datetime
3+
from datetime import datetime, timezone
44
import os
55

66
# Constants
@@ -66,7 +66,7 @@
6666

6767
# Update LAST UPDATED timestamp only if there are new versions
6868
if new_snapshots or new_stable_releases:
69-
last_updated = datetime.now(datetime.timezone.utc).strftime("%Y-%m-%d %H:%M:%S UTC")
69+
last_updated = datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M:%S UTC")
7070
header += f"## LAST UPDATED: {last_updated}\n"
7171
else:
7272
# Load the existing header for the last updated time

0 commit comments

Comments
 (0)