Skip to content

Date

A custom field of type Date can be subject to date filters in Liquid:

{{ product.metafields.accentuate.published_date | date: "%a, %b %d, %y" }}

To ensure that Liquid’s date filters work as expected, consider using a universal, numbered format like 2019-09-14 for your custom field values.

More info on that subject can be found in this article:

https://www.shopify.com/partners/blog/liquid-date-format