From b74e5a4a04c7f804f40c6ba9631a1f9c203fcfc2 Mon Sep 17 00:00:00 2001 From: king Date: Wed, 23 Sep 2026 21:36:43 +0900 Subject: [PATCH] =?UTF-8?q?fix(holidays):=202026-09-28=20=EC=B6=94?= =?UTF-8?q?=EC=84=9D=20=EB=8C=80=EC=B2=B4=EA=B3=B5=ED=9C=B4=EC=9D=BC=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2026 추석 연휴(9/24~26)는 토요일만 겹쳐 대체공휴일 대상 아님 (설·추석은 일요일·다른 공휴일과 겹칠 때만). 프로젝트 달력·쿠팡 출고 달력·휴가 seed 에서 삭제. Co-Authored-By: Claude Opus 5.5 --- app/modules/cupang/holidays.py | 3 +-- app/modules/project/store.py | 2 +- scripts/sql/vacation_db_init.sql | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/modules/cupang/holidays.py b/app/modules/cupang/holidays.py index 8e3bed4..bb6d237 100644 --- a/app/modules/cupang/holidays.py +++ b/app/modules/cupang/holidays.py @@ -52,8 +52,7 @@ _LUNAR_AND_SUBSTITUTE: dict[int, dict[str, str]] = { "2026-08-17": SUBSTITUTE, # 광복절(8/15 토) "2026-09-24": "추석 연휴", "2026-09-25": "추석", - "2026-09-26": "추석 연휴", - "2026-09-28": SUBSTITUTE, + "2026-09-26": "추석 연휴", # 토요일만 겹침 → 대체 없음(설·추석은 일요일/공휴일 겹칠 때만) "2026-10-05": SUBSTITUTE, # 개천절(10/3 토) }, 2027: { diff --git a/app/modules/project/store.py b/app/modules/project/store.py index 6ff516d..76bd3ae 100644 --- a/app/modules/project/store.py +++ b/app/modules/project/store.py @@ -86,8 +86,8 @@ KR_HOLIDAYS: dict[str, str] = { "2026-05-24": "부처님오신날", "2026-05-25": "부처님오신날 대체", "2026-06-06": "현충일", "2026-08-15": "광복절", "2026-08-17": "광복절 대체", + # 추석 9/26 은 토요일만 겹침 → 대체공휴일 없음(설·추석은 일요일/공휴일 겹칠 때만). "2026-09-24": "추석 연휴", "2026-09-25": "추석", "2026-09-26": "추석 연휴", - "2026-09-28": "추석 대체", "2026-10-03": "개천절", "2026-10-05": "개천절 대체", "2026-10-09": "한글날", "2026-12-25": "성탄절", diff --git a/scripts/sql/vacation_db_init.sql b/scripts/sql/vacation_db_init.sql index f82a5be..13efe51 100644 --- a/scripts/sql/vacation_db_init.sql +++ b/scripts/sql/vacation_db_init.sql @@ -144,7 +144,6 @@ INSERT INTO vacation_holidays (holiday_date, name, kind) VALUES ('2026-09-24', '추석 연휴', 'lunar'), ('2026-09-25', '추석', 'lunar'), ('2026-09-26', '추석 연휴', 'lunar'), - ('2026-09-28', '추석 대체', 'substitute'), ('2026-10-03', '개천절', 'public'), ('2026-10-05', '개천절 대체', 'substitute'), ('2026-10-09', '한글날', 'public'),