Skip to content
This repository has been archived by the owner on Jul 31, 2020. It is now read-only.

Parsing time ago incorrectly #102

Open
Mottie opened this issue May 19, 2017 · 0 comments
Open

Parsing time ago incorrectly #102

Mottie opened this issue May 19, 2017 · 0 comments

Comments

@Mottie
Copy link

Mottie commented May 19, 2017

console.log(Date.parse('now'));
console.log(Date.parse('12 minutes ago'));
console.log(Date.parse('13 minutes ago'));

Fri May 19 2017 10:55:18 GMT-0500 (Central Daylight Time)
Fri May 19 2017 10:43:18 GMT-0500 (Central Daylight Time)
Fri May 19 2017 10:54:18 GMT-0500 (Central Daylight Time)

It appears that only the 1 from 13 is being parsed.

Possibly related to #25?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant