Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e81972a

Browse files
authoredJan 20, 2025··
Merge branch 'TheAlgorithms:master' into master
2 parents 2cb86d0 + 91ebea1 commit e81972a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎.github/workflows/sphinx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ concurrency:
2323

2424
jobs:
2525
build_docs:
26-
runs-on: ubuntu-latest
26+
runs-on: ubuntu-24.04-arm
2727
steps:
2828
- uses: actions/checkout@v4
2929
- uses: astral-sh/setup-uv@v5

‎other/doomsday.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def get_week_day(year: int, month: int, day: int) -> str:
4646
) % 7
4747
day_anchor = (
4848
DOOMSDAY_NOT_LEAP[month - 1]
49-
if (year % 4 != 0) or (centurian == 0 and (year % 400) == 0)
49+
if year % 4 != 0 or (centurian == 0 and year % 400 != 0)
5050
else DOOMSDAY_LEAP[month - 1]
5151
)
5252
week_day = (dooms_day + day - day_anchor) % 7

0 commit comments

Comments
 (0)
Please sign in to comment.