Skip to content

Commit

Permalink
Update holiday dates
Browse files Browse the repository at this point in the history
  • Loading branch information
luk3yx committed Nov 6, 2023
1 parent 22065df commit 0bdedfa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ local function or_(...)
end

holidays.schedule = {
christmas = date_range_predicate({month=12, day=24}, {month=12, day=26}), -- 2019 date
easter = date_range_predicate({month=4, day=8}, {month=4, day=13}), -- 2020 date
christmas = date_range_predicate({month=12, day=1}, {month=12, day=26}), -- 2019 date
easter = date_range_predicate({month=3, day=27}, {month=4, day=1}), -- 2024 date
fireworks = or_(
date_range_predicate({month=7, day=2}, {month=7, day=5}), -- july 4th
date_range_predicate({month=12, day=31}, {month=1, day=1}) -- new years
),
winter = date_range_predicate({month=12, day=21}, {month=1, day=1}),
presents = date_range_predicate({month=12, day=1}, {month=1, day=15}),
presents = date_range_predicate({month=11, day=6}, {month=1, day=15}),
}

function holidays.is_holiday_active(holiday_name)
Expand Down

0 comments on commit 0bdedfa

Please sign in to comment.