is_date_between
Passes when the date is between from and to (inclusive).
Required arguments
| Key(s) | Description | Type |
|---|---|---|
from | The first date. Dates as MM-DD (every year) or YYYY-MM-DD (one date only); from and to must use the same format. | STRING |
to | The last date. Dates as MM-DD (every year) or YYYY-MM-DD (one date only); from and to must use the same format. | STRING |
Example
conditions:
- id: is_date_between
args:
from: 12-20
to: 01-05