Skip to content

[fix] make Date/DateTime equality consistent#5626

Merged
kares merged 2 commits intojruby:masterfrom
kares:fix-date-civil-eql
Feb 22, 2019
Merged

[fix] make Date/DateTime equality consistent#5626
kares merged 2 commits intojruby:masterfrom
kares:fix-date-civil-eql

Conversation

@kares
Copy link
Member

@kares kares commented Feb 22, 2019

eql? wasn't consistent with == (sub-millis rational needed normalization)
and also return from === wasn't matching MRI 2.5 ()

@kares kares added this to the JRuby 9.2.7.0 milestone Feb 22, 2019
@kares kares merged commit e5cb0ac into jruby:master Feb 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant