Project

General

Profile

Misc #12424

Inaccurate example in documentation

Added by ja (JoseAlberto Suarez) about 3 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
[ruby-core:75710]

Description

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

History

Updated by nobu (Nobuyoshi Nakada) about 3 years ago

  • Status changed from Open to Rejected

Also available in: Atom PDF