From a096463b0951647f674ec78e370313899259eec8 Mon Sep 17 00:00:00 2001 From: Takayuki Kamiyama Date: Mon, 1 Jul 2024 10:36:33 +0900 Subject: [PATCH 1/2] Update. --- pake.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pake.py b/pake.py index 60bccb8..0b5c663 100644 --- a/pake.py +++ b/pake.py @@ -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] From cbd04fc68c3b2e5ab3dcebe1c43d1e4a0881179d Mon Sep 17 00:00:00 2001 From: Takayuki Kamiyama Date: Mon, 1 Jul 2024 10:36:39 +0900 Subject: [PATCH 2/2] Update. --- unit/timestamp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit/timestamp.py b/unit/timestamp.py index 7cd0c63..e02ddae 100644 --- a/unit/timestamp.py +++ b/unit/timestamp.py @@ -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