Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #85 from takkii/develop
Browse files Browse the repository at this point in the history
Update.
  • Loading branch information
takkii authored Jul 1, 2024
2 parents 0ea4d31 + cbd04fc commit fc60714
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions pake.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import gc
import sys

from typing import Optional

try:
# It doesn't support python4 yet.
py_mj = sys.version_info[0]
Expand Down
2 changes: 1 addition & 1 deletion unit/timestamp.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main():
(306 * (month + 1)) / 10 + day) - 427) % 7
else:
calc = ((365 * year + year / 4 - year / 100 + year / 400 +
(306 * (month + 1)) / 10 + day) - 428) % 7
(306 * (month + 1)) / 10 + day) - 428) % 6
else:
calc = (year + year / 4 - year / 100 + year / 400 +
(13 * month + 8) / 5 + day) % 7
Expand Down

0 comments on commit fc60714

Please sign in to comment.