Skip to content

Commit

Permalink
Merge pull request #85 from Pierstoval/patch-1
Browse files Browse the repository at this point in the history
Update README.md (yml + code)
  • Loading branch information
weaverryan committed May 11, 2016
2 parents 1a775cc + 6d96483 commit fe6c186
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -5,8 +5,8 @@
This bundle does one simple job: takes dates and gives you friendly "2 hours ago"-type messages. Woh!

```html+jinja
Last edited {{ post.updatedAt|ago }}
<-- Last edited 1 week ago -->
Last edited {{ post.updatedAt|ago }}
<-- Last edited 1 week ago -->
```

The date formatted can be translated into any language, and may are supported out of the box.
Expand Down Expand Up @@ -37,7 +37,7 @@ Enable the translation component if you haven't already done it:
# app/config/config.yml
framework:
# ...
translator: { fallback: %locale% } # uncomment this line if you see this line commented
translator: { fallback: '%locale%' } # uncomment this line if you see this line commented
```


Expand Down

0 comments on commit fe6c186

Please sign in to comment.