From: Daniel Ferreira Date: 2016-05-24T21:18:26+01:00 Subject: [ruby-core:75711] Re: [Ruby trunk Misc#12424] Inaccurate example in documentation --===============1509948373== Content-Type: multipart/alternative; boundary=001a114973067c301405339c4226 --001a114973067c301405339c4226 Content-Type: text/plain; charset=UTF-8 It is concerning the type of calendar, not country. Search for England and Italy in the file. Line 166. On Tuesday, 24 May 2016, wrote: > Issue #12424 has been reported by JoseAlberto Suarez. > > ---------------------------------------- > Misc #12424: Inaccurate example in documentation > https://bugs.ruby-lang.org/issues/12424 > > * Author: JoseAlberto Suarez > * Status: Open > * 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: > ?subject=unsubscribe> > > --001a114973067c301405339c4226 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It is concerning the type of calendar, not country. Search for England and = Italy in the file. Line 166.

On Tuesday, 24 May 2016, = <ja+ruby@josealberto.org> wrote:
Issue #12424 has been report= ed by JoseAlberto Suarez.

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

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

=C2=A0 =C2=A0 =C2=A0*=C2=A0 =C2=A0 =C2=A0shakespeare =3D DateTime.iso8601(&= #39;1616-04-23', Date::ENGLAND)
=C2=A0 =C2=A0 =C2=A0*=C2=A0 =C2=A0 =C2=A0 #=3D> Tue, 23 Apr 1616 00:00:0= 0 +0000
=C2=A0 =C2=A0 =C2=A0*=C2=A0 =C2=A0 =C2=A0cervantes =3D DateTime.iso8601(= 9;1616-04-23', Date::ITALY)
=C2=A0 =C2=A0 =C2=A0*=C2=A0 =C2=A0 =C2=A0 #=3D> Sat, 23 Apr 1616 00:00:0= 0 +0000

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



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

Unsubscribe: <mailto:ruby-core-request@ru= by-lang.org?subject=3Dunsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby= -core>
--001a114973067c301405339c4226-- --===============1509948373== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Unsubscribe: --===============1509948373==--