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
Test expect(o[2][1].toISOString()).toBe(new Date('2020-03-07').toISOString());
expect(o[2][1].toISOString()).toBe(new Date('2020-03-07').toISOString());
fails in the French timezone.
> new Date('2020-03-07').toISOString() '2020-03-07T00:00:00.000Z' > o[2][1].toISOString() '2020-03-06T23:00:00.000Z'
For info:
> new Date('2020-03-07T00:00:00').toISOString() '2020-03-06T23:00:00.000Z'
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Test
expect(o[2][1].toISOString()).toBe(new Date('2020-03-07').toISOString());fails in the French timezone.
For info:
The text was updated successfully, but these errors were encountered: