Skip to content

Commit

Permalink
fix: 修正 2024 中秋调休 (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomingtt authored Feb 19, 2024
1 parent 4894dc6 commit e05a9c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chinese_calendar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
is_workday,
)

__version__ = "1.9.0"
__version__ = "1.9.1"
__all__ = [
"Holiday",
"holidays",
Expand Down
2 changes: 1 addition & 1 deletion chinese_calendar/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
2 changes: 1 addition & 1 deletion chinese_calendar/scripts/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):

This comment has been minimized.

Copy link
@Andrea-Chenjia-Pan

Andrea-Chenjia-Pan Sep 5, 2024

Contributor

23年12月30,31两天应该是元旦假期

This comment has been minimized.

Copy link
@FankLi

FankLi via email Sep 5, 2024

Expand Down

0 comments on commit e05a9c9

Please sign in to comment.