mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-20 19:30:47 -07:00
add note about how date is parsed
Was previously unclear what formats would be accepted.
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ title: date
|
|||||||
description: Liquid filter that prints and formats dates.
|
description: Liquid filter that prints and formats dates.
|
||||||
---
|
---
|
||||||
|
|
||||||
Converts a timestamp into another date format. The format for this syntax is the same as [`strftime`](http://strftime.net).
|
Converts a timestamp into another date format. The format for this syntax is the same as [`strftime`](http://strftime.net). The input is parsed using Ruby's [`Time.parse`](https://ruby-doc.org/stdlib/libdoc/time/rdoc/Time.html#method-c-parse), so will accept any format accepted there.
|
||||||
|
|
||||||
<p class="code-label">Input</p>
|
<p class="code-label">Input</p>
|
||||||
```liquid
|
```liquid
|
||||||
|
|||||||
Reference in New Issue
Block a user