From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.5 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_PERMERROR,UNPARSEABLE_RELAY,URIBL_GREY shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 217F01F54E for ; Mon, 22 Aug 2022 03:48:54 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=sendgrid.me header.i=@sendgrid.me header.b="NpPmoLGi"; dkim-atps=neutral Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 1B97D120EDA; Mon, 22 Aug 2022 12:48:49 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id AFC30120EE0 for ; Mon, 22 Aug 2022 12:48:46 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sendgrid.me; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc; s=smtpapi; bh=V43VUf2/azPxBavwEil7pxmPbhyjRVTl4LL7y1nEbbY=; b=NpPmoLGi17BDTjbLFDtNPN04nSRyMcAgpQQdpPBEPI/81r1UX65DyhkVcOF2o9ZjfNSN Uj7Q5u5TOb30RYt/WJan7xriDQRxL9c5/O5PZ+wJzpDWFwpeVyJTTxUKSK3tl6/uoUIx9i wnyLNIyxIuQbFS8/Il8XYSq22udDLKNgI= Received: by filterdrecv-68b46c5bd4-p79kb with SMTP id filterdrecv-68b46c5bd4-p79kb-1-6302FC97-F 2022-08-22 03:48:39.793398931 +0000 UTC m=+2706156.630666446 Received: from herokuapp.com (unknown) by geopod-ismtpd-4-6 (SG) with ESMTP id H4wAL8hjSYCCoU0IAh2ChQ for ; Mon, 22 Aug 2022 03:48:39.675 +0000 (UTC) Date: Mon, 22 Aug 2022 03:48:39 +0000 (UTC) From: "nobu (Nobuyoshi Nakada)" Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 18946 X-Redmine-Issue-Author: kei-p X-Redmine-Sender: nobu X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 86031 X-SG-EID: =?us-ascii?Q?rA5eEsXeCy+asKowYcicHxhOSUaOWYD+XnPnBc7LFC8Re9tNQ4Sv5BA=2FOz+glG?= =?us-ascii?Q?+50K4steq4vSjkkyeSAt=2FQpZK6mQgZdK22n=2FlxG?= =?us-ascii?Q?4Fre1DUaZCCt5YuT184sig4hNj5jrsEpXSCxLVi?= =?us-ascii?Q?2wbN+qspDWRtkGLo9YgMzOZ5i+G9nYsUfv2kd88?= =?us-ascii?Q?48MtHGVc4gczxyuiEHJs0Ls8Te=2FQJm45rJZWaou?= =?us-ascii?Q?mrgah=2F1KaYJeb00gYcB7XT7lVMxB9opF60Nk1az?= =?us-ascii?Q?H4QpStQj+oT1iH+tvZ=2FVg=3D=3D?= To: ruby-dev@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-dev X-Mail-Count: 51194 Subject: [ruby-dev:51194] [Ruby master Bug#18946] Time#to_date returns incorrect date X-BeenThere: ruby-dev@ruby-lang.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Ruby developers \(Japanese\)" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Reply-To: "Ruby developers \(Japanese\)" Errors-To: ruby-dev-bounces@ruby-lang.org Sender: "ruby-dev" Issue #18946 has been updated by nobu (Nobuyoshi Nakada).=0D =0D =0D Fixed this issue itself, but turned out Psych had a related issue.=0D The YAML spec doesn=E2=80=99t considered the calendar systems.=0D Although I [reported], as it hasn=E2=80=99t been concluded yet, the failing= test is excluded now at commit:git|79fdf9712dea4943a15c4ef34348b1a159b62f4= a.=0D =0D [reported]: https://github.com/yaml/yaml/issues/69=0D =0D =0D ----------------------------------------=0D Bug #18946: Time#to_date returns incorrect date=0D https://bugs.ruby-lang.org/issues/18946#change-98807=0D =0D * Author: kei-p (Keisuke Ishizawa)=0D * Status: Closed=0D * Priority: Normal=0D * ruby -v: 3.1.2=0D * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN=0D ----------------------------------------=0D Time#to_date returns incorrect date.=0D =0D Actual Behavior:=0D ```=0D Time.local(1499, 12, 27).to_date=0D =3D> #=0D ```=0D =0D Expected Behavior:=0D ```=0D Time.local(1499, 12, 27).to_date=0D =3D> #=0D ```=0D =0D =0D =0D --=20=0D https://bugs.ruby-lang.org/=0D