Permalink
Browse files

update features and examples

  • Loading branch information...
2 parents b0c7567 + 71e19d4 commit 150891218206398eb11d49223db42f1d515cd548 @spiechu committed Mar 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -50,7 +50,7 @@ $smarty->assign('date', new DateTime('1 second ago'));
// or
$smarty->assign('date', time() - 1);
```
-
+
and then in template:
```smarty
@@ -72,4 +72,4 @@ You can modify language and suffix 'ago' displaying for example:
{$date|timespan:'EN':false}
```
-If there is only one certain unit, numeric value is omitted. For example `a minute ago`, `an hour ago`...
+If there is only one certain unit, numeric value is omitted. For example `a minute ago`, `an hour ago`...

0 comments on commit 1508912

Please sign in to comment.