Skip to content

Commit

Permalink
Add modern Israeli holiday Hebrew Language Day on 21 Tevet
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Apr 15, 2024
1 parent b133b5a commit a47d3d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hebcal/all_holidays_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ import (
)

func TestGetAllHolidaysForYear(t *testing.T) {
assert.Equal(t, 126, len(getAllHolidaysForYear(5783)))
assert.Equal(t, 127, len(getAllHolidaysForYear(5783)))
}
3 changes: 3 additions & 0 deletions hebcal/holidays.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ var staticModernHolidays = []struct {
{firstYear: 5777, mm: hdate.Nisan, dd: 10, desc: "Yom HaAliyah",
chul: true},
{firstYear: 5777, mm: hdate.Cheshvan, dd: 7, desc: "Yom HaAliyah School Observance"},
// https://www.gov.il/he/departments/policies/2012_des5234
{firstYear: 5773, mm: hdate.Tevet, dd: 21, desc: "Hebrew Language Day",
friSatMovetoThu: true},
}

func tzomGedaliahDate(rh hdate.HDate) hdate.HDate {
Expand Down
1 change: 1 addition & 0 deletions hebcal/holidays_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ func TestModernILHolidays(t *testing.T) {
"2022-11-06 Yitzhak Rabin Memorial Day",
"2022-11-23 Sigd",
"2022-11-30 Ben-Gurion Day",
"2023-01-12 Hebrew Language Day",
"2023-02-21 Family Day",
"2023-04-01 Yom HaAliyah",
"2023-04-18 Yom HaShoah",
Expand Down

0 comments on commit a47d3d7

Please sign in to comment.