You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BEGIN:VEVENT
DTSTART;VALUE=DATE:20240718
DTEND;VALUE=DATE:20240719
DTSTAMP:20240614T130816Z
UID:[email protected]
CLASS:PUBLIC
CREATED:20240530T091720Z
DESCRIPTION:Observance\nTo hide observances\, go to Google Calendar Setting
s > Holidays in South Africa
LAST-MODIFIED:20240530T091720Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Nelson Mandela Day
TRANSP:TRANSPARENT
END:VEVENT
This is included in the output of getHolidays({ country: 'za', lang: 'en' }) with no way to distinguish it from a "proper" public holiday:
Perhaps the simplest would be to just include the "description" field (maybe only before the first \n) in the output from this library, and let the application filter on that.
The text was updated successfully, but these errors were encountered:
Google's calendars include significant days which are not actually public holidays. For example, from https://calendar.google.com/calendar/ical/en.za%23holiday%40group.v.calendar.google.com/public/basic.ics for South Africa:
This is included in the output of
getHolidays({ country: 'za', lang: 'en' })
with no way to distinguish it from a "proper" public holiday:We would really like the ability to exclude these "observances".
For comparison, "proper" public holidays in Google's calendars seem to have
DESCRIPTION:Public holiday
. To complicate matters though, this is language-dependent... For example from https://calendar.google.com/calendar/ical/fr.french%23holiday%40group.v.calendar.google.com/public/basic.ics:Perhaps the simplest would be to just include the "description" field (maybe only before the first
\n
) in the output from this library, and let the application filter on that.The text was updated successfully, but these errors were encountered: