Skip to content
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

Bug: Incorrect toISOString(true) in node.js #4487

Closed
wdetac opened this issue Mar 9, 2018 · 2 comments
Closed

Bug: Incorrect toISOString(true) in node.js #4487

wdetac opened this issue Mar 9, 2018 · 2 comments

Comments

@wdetac
Copy link

wdetac commented Mar 9, 2018

I am in +8 time zone.
I am using moment version 2.20.1 and node 9.4.0.
Local time is 2018-03-09 15:17:28 now.

Actual output:

moment().toISOString(true); //2018-03-09T07:17:28.678+08:00

Expected output:

moment().toISOString(true); //2018-03-09T15:17:28.678+08:00
@ashsearle
Copy link
Contributor

This sounds like a duplicate of issue #4390.

Can you check that this is fixed in 2.21.0.

@wdetac
Copy link
Author

wdetac commented Mar 12, 2018

My fault, thanks yes it is perfectly fixed after the update, thanks.

@wdetac wdetac closed this as completed Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants