-
-
Notifications
You must be signed in to change notification settings - Fork 21
Update xlsw.py #48
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
Update xlsw.py #48
Conversation
added 'timedelta' support
Do you want to add one unit test ? |
Sorry, I am new to git(hub), pull requests and all. |
Codecov Report
@@ Coverage Diff @@
## dev #48 +/- ##
==========================================
- Coverage 98.40% 97.42% -0.99%
==========================================
Files 13 13
Lines 690 698 +8
==========================================
+ Hits 679 680 +1
- Misses 11 18 +7
Continue to review full report at Codecov.
|
Thanks for PR. I will cover the unit test. |
Fine. Thank you. |
I am afraid that timedelta cannot be supported because it cannot pass the unit test. https://xlrd.readthedocs.io/en/latest/api.html#xlrd.xldate.xldate_from_time_tuple where hour must be < 24h. |
How do you use timedelta with this package? |
OK, I found the problem and a way to fix it. I got something wrong. It is clearer now. |
Actually,
Furthermore, Finally:
The whole file:
|
added 'timedelta' support
With your PR, here is a check list:
make format
been run?