Closed shrickus closed 6 years ago
Fallback to new Date(inp) when the date string is non-standard, like this output from the file stat() function: 2017-12-12 16:03:51.832427000 -0400 as well as the Twitter API default time string: Mon Jan 08 21:24:37 +0000 2018
Hi Steve, thanks for this. One question though. Does the input still work with "today", "tomorrow" and "yesterday"?
No, OK, I can see from a code review that it will.
Published as v1.0.7, many thanks.
Fallback to new Date(inp) when the date string is non-standard, like this output from the file stat() function: 2017-12-12 16:03:51.832427000 -0400 as well as the Twitter API default time string: Mon Jan 08 21:24:37 +0000 2018