Skip to content

Holidays that fall on a Sunday are omitted from the calendar. #71

@adamhassel

Description

@adamhassel

There seems to be an assumption in the code that holidays that always fall on a Sunday, are not included in the holiday calendars. The most obvious example is Easter Sunday.

This means that if a business has Sunday configured as a Working Day, then Easter Sunday is not considered a holiday. This would be wrong for e.g. the majority (if not all) countries, that consider Easter Monday a holiday.

For example, stores, that are generally open on Sundays, could be closed on Easter Sunday.

Is this by design, or simply an oversight? It seems like a general theme, because even though aa.EasterMonday is defined, there seems to be no general definition of Easter itself. The same goes with Whit Sunday, and possibly others..

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions