Skip to content

Commit 35e130d

Browse files
committed
Update timestamp note
1 parent 35d859b commit 35e130d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,8 @@ Output:
9999
<time>3/26/2014</time>
100100
```
101101

102-
> **Note**: Timestamps are _only_ supported as numeric values, using a String representation of a timestamp will fail. This is no shortcoming of the Dust helper, but of JavaScript's Date constructor:
102+
> **Note**: Timestamps are always numeric values, passing them as String will fail (see JavaScript Date constructor).
103103
104-
> ```js
105-
(new Date("1395872439650")).getTime();
106-
// => NaN
107-
```
108104

109105
####Formatting the output
110106
Template:

0 commit comments

Comments
 (0)