Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update features and examples

  • Loading branch information...
commit 150891218206398eb11d49223db42f1d515cd548 2 parents b0c7567 + 71e19d4
@spiechu authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -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`...
Please sign in to comment.
Something went wrong with that request. Please try again.