From e05a9c970dfc8d8135753e4f3375cb5f77cc26c1 Mon Sep 17 00:00:00 2001 From: wooo Date: Mon, 19 Feb 2024 18:52:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=202024=20=E4=B8=AD?= =?UTF-8?q?=E7=A7=8B=E8=B0=83=E4=BC=91=20(#114)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chinese_calendar/__init__.py | 2 +- chinese_calendar/constants.py | 2 +- chinese_calendar/scripts/data.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chinese_calendar/__init__.py b/chinese_calendar/__init__.py index 2494655..549f013 100644 --- a/chinese_calendar/__init__.py +++ b/chinese_calendar/__init__.py @@ -14,7 +14,7 @@ is_workday, ) -__version__ = "1.9.0" +__version__ = "1.9.1" __all__ = [ "Holiday", "holidays", diff --git a/chinese_calendar/constants.py b/chinese_calendar/constants.py index b27b37a..6bfb4b8 100644 --- a/chinese_calendar/constants.py +++ b/chinese_calendar/constants.py @@ -868,7 +868,7 @@ def __new__(cls, english, chinese, days): datetime.date(year=2024, month=4, day=5): Holiday.tomb_sweeping_day.value, datetime.date(year=2024, month=5, day=2): Holiday.labour_day.value, datetime.date(year=2024, month=5, day=3): Holiday.labour_day.value, - datetime.date(year=2024, month=9, day=17): Holiday.mid_autumn_festival.value, + datetime.date(year=2024, month=9, day=16): Holiday.mid_autumn_festival.value, datetime.date(year=2024, month=10, day=4): Holiday.national_day.value, datetime.date(year=2024, month=10, day=7): Holiday.national_day.value, } diff --git a/chinese_calendar/scripts/data.py b/chinese_calendar/scripts/data.py index 0720ff9..f064d8c 100644 --- a/chinese_calendar/scripts/data.py +++ b/chinese_calendar/scripts/data.py @@ -82,7 +82,7 @@ def _2024(self): .tsd().rest(4, 4).to(4, 6).work(4, 7).in_lieu(4, 5) \ .ld().rest(5, 1).to(5, 5).work(4, 28).work(5, 11).in_lieu(5, 2).to(5, 3) \ .dbf().rest(6, 10) \ - .maf().rest(9, 15).to(9, 17).work(9, 14).in_lieu(9, 17) \ + .maf().rest(9, 15).to(9, 17).work(9, 14).in_lieu(9, 16) \ .nd().rest(10, 1).to(10, 7).work(9, 29).work(10, 12).in_lieu(10, 4).in_lieu(10, 7) def _2023(self):