Skip to content

Commit

Permalink
feat: 2024년 국군의 날 임시공휴일 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sixmen committed Sep 3, 2024
1 parent 8116563 commit f2812f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/cjs/year_holidays/2024.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ exports.HOLIDAYS_2024 = {
18: true, // 추석 연휴
},
10: {
1: true, // 국군의 날 임시공휴일
3: true, // 개천절
9: true, // 한글날
},
Expand Down
1 change: 1 addition & 0 deletions lib/esm/year_holidays/2024.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export var HOLIDAYS_2024 = {
18: true, // 추석 연휴
},
10: {
1: true, // 국군의 날 임시공휴일
3: true, // 개천절
9: true, // 한글날
},
Expand Down
1 change: 1 addition & 0 deletions src/year_holidays/2024.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const HOLIDAYS_2024: IYearHolidays = {
18: true, // 추석 연휴
},
10: {
1: true, // 국군의 날 임시공휴일
3: true, // 개천절
9: true, // 한글날
},
Expand Down
2 changes: 1 addition & 1 deletion test/getNextKoreanBusinessDayYmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit f2812f2

Please sign in to comment.