-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
The README mentions:
var timeago = require('timeago');
var pretty = timeago(+new Date());
console.log(pretty); // just now
From what I tried:
timeago(+new Date())
:undefined
, because+new Date()
returns a timestamp which is not supportedtimeago(new Date())
:less than a minute ago
(not "just now")
I like the README version better, could we:
- merge the pending PR that supports timestamps
- add support for "just now"
Thanks!
Metadata
Metadata
Assignees
Labels
No labels