Add 'days_offset' parameter (#3134)

* Add 'days_offset' parameter

* Change name from 'offset' to 'days_offset'
This commit is contained in:
Ståle Semb Hauknes 2017-08-23 09:36:57 +02:00 committed by Fabian Affolter
parent a59ffe9fb4
commit 109cdccd46

View File

@ -30,6 +30,7 @@ Configuration variables:
- **province** (*Optional*): Province code according to [holidays](https://pypi.python.org/pypi/holidays/0.8.1) notation. Defaults to None.
- **workdays** (*Optional*): List of workdays. Defaults to `mon`, `tue`, `wed`, `thu`, `fri`.
- **excludes** (*Optional*): List of workday excludes. Defaults to `sat`, `sun`, `holiday`.
- **days_offset** (*Optional*): Set days offset. Defaults to `0`.
Days are specified as follows: `mon`, `tue`, `wed`, `thu`, `fri`, `sat`, `sun`. The keyword `holiday` is used for public holidays identified by the holidays module.