Skip to content

Commit

Permalink
Update date-time.md
Browse files Browse the repository at this point in the history
Update docs with new example
  • Loading branch information
Levdbas committed May 31, 2023
1 parent c58f3ef commit 92f814b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/v2/guides/date-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ DateTimeHelper::time_ago($post->date());
**Twig**

```twig
{{ post.date|time_ago }}
{{ post.date('U')|time_ago }}
```

**HTML**
Expand Down

0 comments on commit 92f814b

Please sign in to comment.