Skip to content

Commit

Permalink
Fixing calendar name in ICS
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajmajer committed Nov 9, 2024
1 parent 5bf7959 commit fbe35ca
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion ics/v2.0/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,16 @@ function getHolidayTypeString($holidayType) {
if(strcmp($holidayType, "school_holiday") == 0) {
return "School Holidays";
}
return "Important Dates";
if(strcmp($holidayType, "other_day") == 0) {
return "Important Dates";
}
if(strcmp($holidayType, "extra_working_day") == 0) {
return "Extra Working Days";
}
if(strcmp($holidayType, "postal_holiday") == 0) {
return "Postal Holidays";
}
return "All Dates";
}

function getUIDBase($countryCode, $region) {
Expand Down

0 comments on commit fbe35ca

Please sign in to comment.