date
Formats dates usingstrftime syntax in the shop’s timezone.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Date formatting
| Filter | Description | Example |
|---|---|---|
date | Format date/time | {{ product.created_at | date: '%B %d, %Y' }} |
strftime syntax in the shop’s timezone.
{{ product.created_at | date: '%B %d, %Y' }}
<!-- Output: January 15, 2025 -->
{{ product.published_at | date: '%m/%d/%Y' }}
<!-- Output: 01/15/2025 -->