Skip to content

Commit

Permalink
remove Veterans Holiday 2023 from USGovernmentBond calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
felipenoris committed Nov 10, 2023
1 parent 6da6f8c commit 5e230b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/calendars/us.jl
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function isholiday(::USGovernmentBond , dt::Dates.Date)
adjustweekendholidayUS(findweekday(Dates.Monday, yy, 10, 2, true)) == dt
||
# Veterans Day
adjustweekendholidayUS(Dates.Date(yy, 11, 11)) == dt
(yy != 2023 && adjustweekendholidayUS(Dates.Date(yy, 11, 11)) == dt)
||
# Thanksgiving Day
adjustweekendholidayUS(findweekday(Dates.Thursday, yy, 11, 4, true)) == dt
Expand Down
1 change: 0 additions & 1 deletion test/calendar_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ test_bdays(:WeekendsOnly, (2019, 8, 23), (2019, 8, 24), 1)
"2023-07-04", # U.S. Independence Day
"2023-09-04", # Labor Day
"2023-10-09", # Columbus Day
"2023-11-10", # Veterans Day
"2023-11-23", # Thanksgiving Day
"2023-12-25", # Christmas Day
])
Expand Down

0 comments on commit 5e230b6

Please sign in to comment.