mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-03 09:05:13 -07:00
pretty tables
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ title: date
|
||||
`date` converts a timestamp into another date format.
|
||||
|
||||
| Input | Output |
|
||||
|-------------------------------------------:|:-------|
|
||||
|--------------------------------------------------------------------------:|:---------------------|
|
||||
| {% raw %}`{{ article.published_at | date: "%a, %b %d, %y" }}`{% endraw %} | Tue, Apr 22, 14 |
|
||||
| {% raw %}`{{ article.published_at | date: "%Y" }}`{% endraw %} | 2014 |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user