-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
PR: toPython helpers for QDate and QTime #361
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems naively reasonable to me overall, but I'd defer to @dalthviz on that.
Could you either add tests like the one for QDateTime.toPython
(or parameterize that test accordingly)?
Missed a step that didn't get caught in testing for some reason. Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @bob-schumaker thank you for working on this! I would say that the missing thing here is to add some tests for QDate.toPython
and QTime.toPython
as @CAM-Gerlach mentioned. If you need help with that let us know!
Other than that this LGTM 👍
Duh, out of practice. Let me add the tests :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bob-schumaker !
This adds toPython() compat functions to QDate and QTime for symmetry.