Skip to content

Commit 32b4721

Browse files
committed
Fix
1 parent baeb0fe commit 32b4721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: other/gauss_easter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ def gauss_easter(year: int) -> datetime:
5656

5757
if __name__ == "__main__":
5858
for year in (1994, 2000, 2010, 2021, 2023):
59-
tense = "will be" if year > datetime.now(tzinfo=UTC).year else "was"
59+
tense = "will be" if year > datetime.now(tz=UTC).year else "was"
6060
print(f"Easter in {year} {tense} {gauss_easter(year)}")

0 commit comments

Comments
 (0)