Thanks to visit codestin.com
Credit goes to github.com

Skip to content

shift_exceptions does not prevent New Years Day (Observed) in some cases #610

@paulpharr

Description

@paulpharr

When January 1 is on a Saturday (as it is in 2022), the United States calendar for the prior year (in this case 2021) has holiday New Years Day (Observed) on December 31 even when shift_exceptions contains an exception for January 1.

work holiday: 2021-12-31 [fri] - New Years Day (Observed)

shift_exceptions = ((1, 1),
                    (12, 25),
                    )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions