Skip to content

Commit 5f4eb44

Browse files
committed
catchup with the new announcement for year 2025.
No CSV data are provided at the moment, this update is done manually. Ref: https://www.dgpa.gov.tw/information?uid=30&pid=12572
1 parent 669c03c commit 5f4eb44

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lib/Date/Holidays/TW.pm

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Date::Holidays::TW;
22
use strict;
33
use utf8;
44

5-
our $VERSION = v0.6.0;
5+
our $VERSION = v0.7.0;
66

77
use Exporter 'import';
88
our @EXPORT_OK = qw(is_tw_holiday tw_holidays);
@@ -1580,6 +1580,7 @@ my %CAL = (
15801580
"0921" => "星期六、星期日",
15811581
"0927" => "星期六、星期日",
15821582
"0928" => "星期六、星期日",
1583+
"0929" => "補假",
15831584
"1004" => "星期六、星期日",
15841585
"1005" => "星期六、星期日",
15851586
"1006" => "中秋節",
@@ -1588,7 +1589,8 @@ my %CAL = (
15881589
"1012" => "星期六、星期日",
15891590
"1018" => "星期六、星期日",
15901591
"1019" => "星期六、星期日",
1591-
"1025" => "星期六、星期日",
1592+
"1024" => "補假",
1593+
"1025" => "臺灣光復暨金門古寧頭大捷紀念日",
15921594
"1026" => "星期六、星期日",
15931595
"1101" => "星期六、星期日",
15941596
"1102" => "星期六、星期日",
@@ -1606,6 +1608,7 @@ my %CAL = (
16061608
"1214" => "星期六、星期日",
16071609
"1220" => "星期六、星期日",
16081610
"1221" => "星期六、星期日",
1611+
"1225" => "行憲紀念日",
16091612
"1227" => "星期六、星期日",
16101613
"1228" => "星期六、星期日",
16111614
},

t/2025.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ is is_tw_holiday(2025, 4, 5), T(), '星期六';
1010
is is_tw_holiday(2025, 5, 30), T(), '補假';
1111
is is_tw_holiday(2025, 5, 31), T(), '端午';
1212
is is_tw_holiday(2025,10, 6), T(), '中秋';
13+
is is_tw_holiday(2025,10, 24), T(), '補假';
1314

1415
done_testing;

0 commit comments

Comments
 (0)