Skip to content

Commit

Permalink
Observe 12-31 in USA if next New Year is on Saturday
Browse files Browse the repository at this point in the history
Fix #87
  • Loading branch information
kylekatarnls committed Oct 19, 2024
1 parent 0cbc513 commit d4be5b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Cmixin/HolidayNames/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
'mlk-day' => 'Martin Luther King Jr. Day',
'national-day' => 'National Day',
'new-year' => 'New Year',
'new-year-previous-day' => 'New Year previous day',
'new-year-next-day' => 'New Year next day',
'pentecost' => 'Pentecost',
'pentecost-monday' => 'Pentecost Monday',
Expand Down
4 changes: 3 additions & 1 deletion src/Cmixin/Holidays/us-national.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<?php

return [
'new-year' => '= 01-01 substitute', // New Year's Day
'new-year' => '= 01-01 on Monday,Tuesday,Wednesday,Thursday,Friday', // New Year's Day
'new-year-next-day' => '= 01-02 on Monday', // New Year's Day (observance)
'new-year-previous-day' => '= 12-31 on Friday', // New Year's Day (observance)
// Martin Luther King Jr. Day
'mlk-day' => '= third Monday of january',
'3rd-monday-in-february' => '= third Monday of February',
Expand Down

0 comments on commit d4be5b2

Please sign in to comment.