date_end_of_week
Retrieves a date that is the end of a week.
Example
1
{{ 1 | date_end_of_week: '2020-01-15' }} => 2020-01-19
Input
Type | Parameter | Description | Required |
---|---|---|---|
string | weekNumberOrDate | The week number. Comes before the | sign. | Required |
string | year | The year, defaults to the current year | |
string | lastDayOfWeek | The last day of the week, defaults to Sunday |
Output
Type | Description |
---|---|
string | The date that is the end of the week |