Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upunexpected behavior comparing date with datetime #423
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(this is with pendulum 1.4.4, the comparison throws an error in 2.0.5)
I'm used to working with the SQL notion of dates and timestamps, so I'm expecting '2019-11-25' to be treated as equal to '2019-11-25 00:00'. In that light, the result of these comparisons seem wrong to me.
I understand I'm on the old version and this behavior might never be fixed, or one might not agree it's a bug, but it's also not documented anywhere as far as I can tell, so I figured I'd submit this issue anyway.