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.now() not correctly supported in <IE9 #17

Open
Aymkdn opened this issue Jul 2, 2013 · 0 comments
Open

Date.now() not correctly supported in <IE9 #17

Aymkdn opened this issue Jul 2, 2013 · 0 comments

Comments

@Aymkdn
Copy link

Aymkdn commented Jul 2, 2013

You use Date.now() in your xlsx.js file when it's not correctly supported by < IE9

So you probably want to add this below code somewhere:

    if (!Date.now) {
      Date.now = function() {
        return new Date().valueOf();
      }
    }

If not then xslx.js won't work with < IE9 !

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

1 participant