Skip to content

Commit fd3be32

Browse files
committed
Documentation fixes
1 parent 688052a commit fd3be32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ Display a moment in relative time, either from now or from a specified date.
6363
**With suffix hidden** (e.g. '4 days ago' -> '4 days')
6464

6565
```html
66-
<span>{{ someDate | moment "from" "now" true }}</span>
66+
<span>{{ someDate | moment "from" "now" "true" }}</span>
6767
<!-- or -->
68-
<span>{{ someDate | moment "from" true }}</span>
68+
<span>{{ someDate | moment "from" "true" }}</span>
6969
<!-- or with a reference time -->
70-
<span>{{ someDate | moment "from" "Jan. 11th, 2000" true }}</span>
70+
<span>{{ someDate | moment "from" "Jan. 11th, 2000" "true" }}</span>
7171
```
7272

7373
For more information about `moment#fromNow` and `moment#from`, check out <http://momentjs.com/docs/#/displaying/fromnow/> and <http://momentjs.com/docs/#/displaying/from/>.

0 commit comments

Comments
 (0)