We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
>(new Date(-1000)).toString() ="Thu Jan 1 1970 00:00:-1 GMT+0000"
Mentioned here: http://forum.espruino.com/conversations/286378/#comment12966391
The text was updated successfully, but these errors were encountered:
Does this just need abs(X) added to the h, m, s part?
Espruino/src/jswrap_date.c
Line 379 in 2d30d81
Sorry, something went wrong.
No, because it's just another date in 1969.
Chrome says:
(new Date(-1000)).toString() "Wed Dec 31 1969 23:59:59 GMT+0000 (GMT)"
It's getTimeFromMilliSeconds that needs changing.
9c46c0a
No branches or pull requests
Mentioned here: http://forum.espruino.com/conversations/286378/#comment12966391
The text was updated successfully, but these errors were encountered: