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

Fix RangeError in Firefox #529

Merged
merged 5 commits into from
Sep 25, 2018

Conversation

bruce-binary
Copy link
Contributor

@bruce-binary bruce-binary commented Sep 24, 2018

Fix issue where error gets thrown when market trading times gets updated

You can replicate this console error by entering both:

new Date(`${new Date().toISOString().substring(0, 10)}Z`);
new Date(`${new Date().toISOString().substring(0, 10)}T00:00:00Z`);

In Firefox the first line will throw an Invalid Date error

bruce-binary and others added 5 commits September 24, 2018 15:44
Fix issue where error gets thrown when market trading times gets updated

You can replicate this console error by entering both:

new Date(`${new Date().toISOString().substring(0, 10)}Z`);
new Date(`${new Date().toISOString().substring(0, 10)}T00:00:00Z`);

In Firefox the first line will throw an `Invalid Date` error
@bruce-binary bruce-binary merged commit 031a239 into deriv-com:dev Sep 25, 2018
@bruce-binary bruce-binary deleted the firefox-rangeError branch September 25, 2018 07:36
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

Successfully merging this pull request may close these issues.

1 participant