Issue #13652 has been updated by Glass_saga (Masaki Matsushita).

Status changed from Open to Rejected

It can't be reproduced.

```
% ruby -v -r "date" -e "p DateTime.parse == 'No End Date'"
ruby 2.5.0dev (2017-08-29 trunk 59656) [x86_64-darwin15]
false
```

----------------------------------------
Bug #13652: Ruby 2.3.4 does not catch Argument error when comparing DateTime with String
https://bugs.ruby-lang.org/issues/13652#change-66310

* Author: derekzwy (Wenyuan Zhang)
* Status: Rejected
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.3.4
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Ruby 2.3.4 does not catch Argument error when comparing DateTime with String, while Ruby 2.1.5 catches it and return false.

---Files--------------------------------
ruby 2.3.4.png (168 KB)
ruby 2.1.5.png (133 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>