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

Date.toJSON error for <IE8 #220

Closed
zbynek001 opened this issue Jul 19, 2016 · 1 comment
Closed

Date.toJSON error for <IE8 #220

zbynek001 opened this issue Jul 19, 2016 · 1 comment

Comments

@zbynek001
Copy link

Date.toJSON fails for < IE8, because it uses inside Date.toISOString directly without the polyfilled version
(I'm using it without without global namespace pollution)

return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();

@zloirock
Copy link
Owner

Thanks, added fallback.

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