add note about how date is parsed

Was previously unclear what formats would be accepted.
This commit is contained in:
Aidan Feldman
2018-06-06 10:09:33 -04:00
committed by GitHub
parent 16c38e37eb
commit b211fb67fb

View File

@@ -3,7 +3,7 @@ title: date
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>
```liquid