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
1.4.1: Date.isThisAny() fails in Opera Mini #496
Comments
Thank you for this report (and sorry it took so long). I would love to look into this issue, but debugging seems basically impossible for Opera Mini, as actual rendering/execution isn't performed on the client, no? If you have a good way to debug this I'm all ears. |
Sugar is perfect, so you can visit issue page once a year – and see nearly no changes, so no need to sorry ) Debugging Opera-Mini is a pain. The only more or less reliable way is using Please note, that OM console is unable to show objects in readable way, they all look like |
Ok wow I guess that's the only way. I'll see what I can set up on the site and then have a look. |
OK I've managed to set up a way to debug this... lots of fun.
Seems to produce something ridiculous ( |
Wonderful!
Modulo produces ridiculous results in other browsers also. -10%3 >> -1, but valid result is 2. So to get arithmetically valid result (num).mod(div) should be smth like (num % div + div) % div. Got a lot of pain from it once. |
Yikes... sounds crazy. Anyway I'll have another more comprehensive check when I have more time later. |
Former-commit-id: f3bf901427bb58dfbef6b665c124f5fe9ec019cb [formerly 16f20748e80ee4dd3d4ca0af69204e8445c7c78f] Former-commit-id: 5998962355b3ba425fcdf66af301f29896f6f1da
Former-commit-id: c08ed96 Former-commit-id: 3033ba3c68466857878f91c8619c071a7a4bfdfb
Note here that I did a final sweep of modulo operators on |
Methods
.isThisYear
,.isThisWeek
,.isThisMonth
throw error in Opera Mini on at least iPhone. Method.isToday
and similar work fine although.The text was updated successfully, but these errors were encountered: