PublicHoliday
Condition to allow events on public holidays.
yaml
type: "io.kestra.plugin.core.condition.PublicHoliday"
Condition to allow events on public holidays.
yaml
- conditions:
- type: io.kestra.plugin.core.condition.PublicHoliday
country: FR
Conditions to allow events on work days.
yaml
- conditions:
- type: io.kestra.plugin.core.condition.Not
conditions:
- type: io.kestra.plugin.core.condition.PublicHoliday
country: FR
- type: io.kestra.plugin.core.condition.Weekend
Dynamic YES
Default {{ trigger.date }}
Min length 1
The date to test.
Can be any variable or any valid ISO 8601 datetime. By default, it will use the trigger date.
Dynamic YES
ISO 3166-1 alpha-2 country code. If not set, it uses the country code from the default locale.
It uses the Jollyday library for public holiday calendar that supports more than 70 countries.
Dynamic YES
ISO 3166-2 country subdivision (e.g., provinces and states) code.
It uses the Jollyday library for public holiday calendar that supports more than 70 countries.