Widget Date Formatting

date

Converts a timestamp into another date format. The format for this syntax is the same as strftime. The input uses the same format as Ruby’s Time.parse.

  • %a, %b %d, %y -> Fri, Jul 17, 15
  • %Y -> 2015
  • %Y-%m-%d %H:%M -> 2019-09-19 17:48

Reference: https://shopify.github.io/liquid/filters/date/

Still need help? Contact Us Contact Us