expiry_date
Plucks an expiry date from an array of dates.
Example
1
{{ $dates | expiry_date: $skuResource }} => 2021-01-01
Input
Type | Parameter | Description | Required |
---|---|---|---|
array | dates | The dates to pluck the expiry date from. Comes before the | sign. | Required |
array | skuResource | The SKU resource to get the expiry date from |
Output
Type | Description |
---|---|
string | The expiry date |