-
Notifications
You must be signed in to change notification settings - Fork 11
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
DateTime comparisons do not work #51
Comments
Thank you for sharing this issue! I like the freedom of proposed solution (2.), but we will need to support a list of possibilities there as well.
What do you think? |
If we alter the default from what it is now (using So at least for the time being I'd like to keep the default as-is. |
Hmm even the code is simple to understand I think this might be bit more work than I can handle right now. A
The Elixir version of 1.3 is giving me compiler errors when trying to add the optional parameters, upgrading from Elixir 1.3 is probably a good idea:
The very first clause which checks for equality will need to be removed, because it would evaluate two child
|
In that case, we should return
👍 Let's drop support for any version older than 1.7.
I think that the case where two things which are structurally equal are not considered equal according to a |
Let me know how it goes. If you feel like you've bitten off more than you can chew, I will happily jump in to help with the code, but of course I also don't want to tread on your turf 😊 ! |
Here is an example of where
DateTime
values are not being considered equal, I suppose because under-the-hood a regular==
comparison is being done:Possible solutions
compare
functions:If you let me know what your preference is I can prepare a PR.
The text was updated successfully, but these errors were encountered: