Repository navigation
Remove useless check - #477
pascalr0410 wants to merge 1 commit into
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #477 +/- ##
==========================================
+ Coverage 97.81% 97.82% +0.01%
==========================================
Files 34 34
Lines 12368 12485 +117
==========================================
+ Hits 12098 12214 +116
- Misses 270 271 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Hi Pascal, Thanks for this. I agree: a negative number in a date-formatted cell is valid in a file and shouldn't stop the whole sheet from loading. However, simply removing the check on its own as you propose causes two problems:
I've already made a fix for this in my fork. A negative value in a date-formatted cell is now read as the plain number it holds, a Float64 or an Int. I'll open a PR from my fork to this repo soon, and it will include this fix. I suggest we close this PR in favour of that one. Thanks again for reporting it! Tim |
|
My fix is now on Master. |
Hello,
This merge request aims to remove an unnecessary check for negative dates. In reality, Julia accepts negative dates, and while this may seem inconsistent, there's no reason why it should cause a crash when they're found in a file.
Regards,
Pascal