From f2812f2eb3d3edd7c7f0e15b9c3085bca005f1b2 Mon Sep 17 00:00:00 2001 From: Sangmin Yoon Date: Tue, 3 Sep 2024 17:17:39 +0900 Subject: [PATCH] =?UTF-8?q?feat:=202024=EB=85=84=20=EA=B5=AD=EA=B5=B0?= =?UTF-8?q?=EC=9D=98=20=EB=82=A0=20=EC=9E=84=EC=8B=9C=EA=B3=B5=ED=9C=B4?= =?UTF-8?q?=EC=9D=BC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/cjs/year_holidays/2024.js | 1 + lib/esm/year_holidays/2024.js | 1 + src/year_holidays/2024.ts | 1 + test/getNextKoreanBusinessDayYmd.ts | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/cjs/year_holidays/2024.js b/lib/cjs/year_holidays/2024.js index 90d0570..241e18c 100644 --- a/lib/cjs/year_holidays/2024.js +++ b/lib/cjs/year_holidays/2024.js @@ -36,6 +36,7 @@ exports.HOLIDAYS_2024 = { 18: true, // 추석 연휴 }, 10: { + 1: true, // 국군의 날 임시공휴일 3: true, // 개천절 9: true, // 한글날 }, diff --git a/lib/esm/year_holidays/2024.js b/lib/esm/year_holidays/2024.js index d9b3fcb..2e61476 100644 --- a/lib/esm/year_holidays/2024.js +++ b/lib/esm/year_holidays/2024.js @@ -33,6 +33,7 @@ export var HOLIDAYS_2024 = { 18: true, // 추석 연휴 }, 10: { + 1: true, // 국군의 날 임시공휴일 3: true, // 개천절 9: true, // 한글날 }, diff --git a/src/year_holidays/2024.ts b/src/year_holidays/2024.ts index d663748..e15f9d7 100644 --- a/src/year_holidays/2024.ts +++ b/src/year_holidays/2024.ts @@ -35,6 +35,7 @@ export const HOLIDAYS_2024: IYearHolidays = { 18: true, // 추석 연휴 }, 10: { + 1: true, // 국군의 날 임시공휴일 3: true, // 개천절 9: true, // 한글날 }, diff --git a/test/getNextKoreanBusinessDayYmd.ts b/test/getNextKoreanBusinessDayYmd.ts index 4855654..a552535 100644 --- a/test/getNextKoreanBusinessDayYmd.ts +++ b/test/getNextKoreanBusinessDayYmd.ts @@ -42,7 +42,7 @@ describe('getNextKoreanBusinessDayYmd', () => { it('2024', () => { expect(getNextKoreanBusinessDayYmd(20240430, 4)).to.eql(20240508); - expect(getNextKoreanBusinessDayYmd(20240911, 17)).to.eql(20241011); + expect(getNextKoreanBusinessDayYmd(20240911, 17)).to.eql(20241014); }); it('fallback year', () => {