diff options
author | Andrew White <andrew.white@unboxedconsulting.com> | 2016-04-03 23:43:53 +0100 |
---|---|---|
committer | Andrew White <andrew.white@unboxedconsulting.com> | 2016-04-03 23:47:46 +0100 |
commit | 08073125a5bd4cae0f2e02723e7743a389d496cd (patch) | |
tree | e290932b105597ea893565b1f62420cf6b0c4dd8 /version.rb | |
parent | ae2f193c0379453f73ae08a3df541d2cb0ae00e2 (diff) | |
download | rails-08073125a5bd4cae0f2e02723e7743a389d496cd.tar.gz rails-08073125a5bd4cae0f2e02723e7743a389d496cd.tar.bz2 rails-08073125a5bd4cae0f2e02723e7743a389d496cd.zip |
Call super instead of returning nil for DateTime#<=>
The native DateTime#<=> implementation can be used to compare instances
with numeric values being considered as astronomical julian day numbers
so we should call that instead of returning nil.
Fixes #24228.
Diffstat (limited to 'version.rb')
0 files changed, 0 insertions, 0 deletions