diff --git a/yuthon_hr_attendance/controllers/applet_attendance.py b/yuthon_hr_attendance/controllers/applet_attendance.py index 4be0b3364..d10f7a03f 100644 --- a/yuthon_hr_attendance/controllers/applet_attendance.py +++ b/yuthon_hr_attendance/controllers/applet_attendance.py @@ -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) # 处理调班补班