Issue #12424 has been updated by Nobuyoshi Nakada.

Status changed from Open to Rejected

----------------------------------------
Misc #12424: Inaccurate example in documentation
https://bugs.ruby-lang.org/issues/12424#change-58857

* Author: JoseAlberto Suarez
* Status: Rejected
* Priority: Normal
* Assignee: 
----------------------------------------
in https://github.com/ruby/ruby/blob/ffb34cce89c63d43e2ae6a5c3956489fd3c5c4c7/ext/date/date_core.c#L9478

     *     shakespeare = DateTime.iso8601('1616-04-23', Date::ENGLAND)
     *      #=> Tue, 23 Apr 1616 00:00:00 +0000
     *     cervantes = DateTime.iso8601('1616-04-23', Date::ITALY)
     *      #=> Sat, 23 Apr 1616 00:00:00 +0000

But Cervantes Died (and born) in Spain, not Italy



-- 
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>