-
Notifications
You must be signed in to change notification settings - Fork 186
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
Safari date-object issues #176
Comments
thanks john, that sounds weird. |
No, not any special way. I am doing something like this mostly. where |
I've just put in a try catch around the call to instantiate a spacetime to log the input that is causing the error. I'll let you know my findings as soon as I find out. |
Ok. Here's what caused the errors. The code was instantiating with: They seem to produce dates, it's just that spacetime code throws an error for some bizarre reason. Any ideas? |
Hi, we can finally replicate the error. It seems to be an issue with Safari 11 on desktop. I can't replicate the error everytime I load, but it is happening intermittently on Safari 11 |
thanks John, that's really helpful. what are the actual method calls, to reproduce it? |
yeah, it seems safari has some opinions in it's Date Object. That could be it. |
Thanks Spencer. Much appreciated. The stack overflow only reports issues with 'yyyy-MM-dd' format. But we are also getting errors when using |
Error
undefined is not an object (evaluating 'this.epoch=null')
I'm receiving errors from our monitoring software that people are experiencing. I don't know what's causing it. I've thrown invalid dates, invalid strings, NaN into
spacetime()
, and I can't get it to throw this error.The line reports is coming from: webpack:///./node_modules/spacetime/builds/spacetime.js:3826:0:in 'epoch'
The text was updated successfully, but these errors were encountered: