-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
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
not standard date.toString() format #38
Comments
Our current implementation matches the ES6 spec, which allows the implementation a lot of flexibility. But, ES9 is more strict, and requires output like the familiar form you show. We'll work on updating our implementation, but until then, |
@mhorowitz The ES6 spec states:
A string in ISO 8601 isn't really a "convenient, human-readable form". So, arguably, this is not spec compliant. |
The ES9.0 compliant version of |
(ES2018; the edition number isn't used after ES6 / ES2015) |
(new Date).toString()
results in "2019-07-15T20:29:57.312+03:00"
instead of the familiar javascript format:
Mon Jul 15 2019 20:29:57 GMT+0300 (IDT)
any ideas how I can enforce the familiar javascript format instead of this new one as it is not compatible with my code?
The text was updated successfully, but these errors were encountered: