Workday add date range (#28157)

This commit is contained in:
G Johansson 2023-09-26 09:15:39 +02:00 committed by GitHub
parent 830940399e
commit 056c406ae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,9 +44,9 @@ Country code must be given according to [holidays](https://pypi.org/project/holi
Subdivision code must be given according to [holidays](https://pypi.org/project/holidays/) notation.
Add holidays will only take dates formatted with `YYYY-MM-DD`.
Add holidays will only take dates formatted with `YYYY-MM-DD` or a date range formatted with `YYYY-MM-DD,YYYY-MM-DD`.
Remove holidays will take dates formatted with `YYYY-MM-DD` or partial of name, for example, `christmas` will exclude `Christmas Day`.
Remove holidays will take dates formatted with `YYYY-MM-DD`, a date range formatted with `YYYY-MM-DD,YYYY-MM-DD` or partial of name, for example, `christmas` will exclude `Christmas Day`.
The offset can be used to see if future days are workdays. For example, put `1` to see if tomorrow is a workday.