-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Invalid time value Exception #488
Comments
I had the same problem, this error will happen when you use datejs in exceljs options. |
How to fix it? Anybody knows? It is a file that makes the bug: |
I had the exact same problem and used @ilijaz suggestion to patch it. When will this be officially patched? |
My current solution is to make a template through the google documents. |
Fix Issue exceljs#488 where dt is an invalid time format, catch the exception and return blank string.
@ilijaz I know it's been a while, but do you remember what the original date/time value was that caused the exception? I'm reviewing a PR that will fix this (thanks to @dljenkins ) and would like to include a unit test that covers this |
…alue and return blank string. Add unit test.
@guyonroche I've got some skills for that time. I've added a unit test and another PR without catching the exception.
Where does it decide what type each option should have? |
@ilijaz that explains it - cp:revision should be a number, not a date. I've merged the above mentioned PR and amended the cp:revision property. Will publish soon. |
Published fix in v1.4.13 |
Fix Issue #488 where dt is an invalid date format.
I got the exception when i opened this https://yadi.sk/d/9RC1JcPY3S2kHa xlsx document template
I did this dirty hack and now everything works fine
I don't know why it's happening because i'm newbee in js and don't have enough time to understand exceljs lib at all.
The text was updated successfully, but these errors were encountered: