This commit is contained in:
李鹏宇
2025-07-10 17:31:19 +08:00
parent 339b1ae72d
commit d5ffbb43e7
@@ -407,7 +407,7 @@ class AppletAttendance(Controller):
day = start_date_obj + timedelta(days=i)
# 只添加年份和月份匹配的日期
if day.year == target_year and day.month == target_month:
formatted_date = f"{day.year}/{day.month}/{day.day}"
formatted_date = f"{day.year}-{day.month}-{day.day}"
holidays_list.append(formatted_date)
# 处理调班补班