|
发表于 2018-12-25 15:49:37
|
显示全部楼层
2019年的节假日调休安排,chineseholiday.py里直接替换对应位置!
datetime.date(year=2019, month=1, day=1): FESTIVAL_TYPE['new_years_day'],
datetime.date(year=2019, month=2, day=2): FESTIVAL_TYPE['day_off'],
datetime.date(year=2019, month=2, day=3): FESTIVAL_TYPE['day_off'],
datetime.date(year=2019, month=2, day=4): FESTIVAL_TYPE['spring_festival'],
datetime.date(year=2019, month=2, day=5): FESTIVAL_TYPE['spring_festival'],
datetime.date(year=2019, month=2, day=6): FESTIVAL_TYPE['spring_festival'],
datetime.date(year=2019, month=2, day=7): FESTIVAL_TYPE['spring_festival'],
datetime.date(year=2019, month=2, day=8): FESTIVAL_TYPE['spring_festival'],
datetime.date(year=2019, month=2, day=9): FESTIVAL_TYPE['spring_festival'],
datetime.date(year=2019, month=2, day=10): FESTIVAL_TYPE['spring_festival'],
datetime.date(year=2019, month=4, day=5): FESTIVAL_TYPE['tomb_sweeping_day'],
datetime.date(year=2019, month=4, day=6): FESTIVAL_TYPE['tomb_sweeping_day'],
datetime.date(year=2019, month=4, day=7): FESTIVAL_TYPE['tomb_sweeping_day'],
datetime.date(year=2019, month=5, day=1): FESTIVAL_TYPE['labour_day'],
datetime.date(year=2019, month=6, day=7): FESTIVAL_TYPE['dragon_boat_festival'],
datetime.date(year=2019, month=6, day=8): FESTIVAL_TYPE['dragon_boat_festival'],
datetime.date(year=2019, month=6, day=9): FESTIVAL_TYPE['dragon_boat_festival'],
datetime.date(year=2019, month=9, day=13): FESTIVAL_TYPE['mid_autumn_festival'],
datetime.date(year=2019, month=9, day=14): FESTIVAL_TYPE['mid_autumn_festival'],
datetime.date(year=2019, month=9, day=15): FESTIVAL_TYPE['mid_autumn_festival'],
datetime.date(year=2019, month=9, day=29): FESTIVAL_TYPE['day_off'],
datetime.date(year=2019, month=10, day=1): FESTIVAL_TYPE['national_day'],
datetime.date(year=2019, month=10, day=2): FESTIVAL_TYPE['national_day'],
datetime.date(year=2019, month=10, day=3): FESTIVAL_TYPE['national_day'],
datetime.date(year=2019, month=10, day=4): FESTIVAL_TYPE['national_day'],
datetime.date(year=2019, month=10, day=5): FESTIVAL_TYPE['national_day'],
datetime.date(year=2019, month=10, day=6): FESTIVAL_TYPE['national_day'],
datetime.date(year=2019, month=10, day=7): FESTIVAL_TYPE['national_day'],
datetime.date(year=2019, month=10, day=12): FESTIVAL_TYPE['day_off'],
|
|