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.4 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, 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 83AFC1F54E for ; Fri, 29 Jul 2022 06:29:18 +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="Hr6rtmPQ"; dkim-atps=neutral Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 44F33120E85; Fri, 29 Jul 2022 15:29:12 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 9F842120E85 for ; Fri, 29 Jul 2022 15:29:10 +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=tOmflwNitdiAUVrTqV+JbgdaE+G3M4KQtxgG7l+tZGI=; b=Hr6rtmPQpvpF/BP6knL7nGOAyt2PlHwvLUBLJpyiWbJkXGdnMYJHfcfr1iMcf6d/O/La dd371e1G8g0EQDKQ2QVpHAK+Kg0CflQ1bqLgjGSgDQe4BFY0R1OYc1jb5eWoE4FnuIlTGH XqXZDF5HY6QvqigPEaltnMG6GvLZSvlHE= Received: by filterdrecv-66b95c5ffd-ns4q7 with SMTP id filterdrecv-66b95c5ffd-ns4q7-1-62E37E32-1D 2022-07-29 06:29:06.391981741 +0000 UTC m=+642256.787041934 Received: from herokuapp.com (unknown) by geopod-ismtpd-canary-0 (SG) with ESMTP id 9jLqYadSToyjT1_4rIlKXw for ; Fri, 29 Jul 2022 06:29:06.381 +0000 (UTC) Date: Fri, 29 Jul 2022 06:29:06 +0000 (UTC) From: "kei-p (Keisuke Ishizawa)" Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 18946 X-Redmine-Issue-Author: kei-p X-Redmine-Sender: kei-p 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: 85762 X-SG-EID: =?us-ascii?Q?ZTwFz+eiYwDxgm5=2FwjcYr9wJZtleYhZts8QSM8SrgNh+cSeA=2Fw065WWa5IGAeu?= =?us-ascii?Q?DIjBBogllQsYCXa=2FmI8BbMCC5jc=2FB7qwPEif4ZD?= =?us-ascii?Q?oGjeSkEa5nYmfGlqXZTRIlhgg5vPq3IgmjOW0FD?= =?us-ascii?Q?vrl5KYBSgCLAYbKJuJgoj8SU55tLS=2Fygir+iNjP?= =?us-ascii?Q?=2FCtuZxl4ZV4SnRkuG9yrg3GBSS2Z2ODL8E42wCg?= =?us-ascii?Q?4sL=2F69+TL91dDzAqP47VRY4KTu1MmCI=2FjnGooBx?= =?us-ascii?Q?mtO6reby9ES89LcRp+ucw=3D=3D?= To: ruby-dev@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-dev X-Mail-Count: 51185 Subject: [ruby-dev:51185] [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 reported by kei-p (Keisuke Ishizawa). ---------------------------------------- Bug #18946: Time#to_date returns incorrect date https://bugs.ruby-lang.org/issues/18946 * Author: kei-p (Keisuke Ishizawa) * Status: Open * Priority: Normal * ruby -v: 3.1.2 * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- Time#to_date returns incorrect date. Actual Behavior: ``` Time.local(1499, 12, 27).to_date => # ``` Expected Behavior: ``` Time.local(1499, 12, 27).to_date => # ``` -- https://bugs.ruby-lang.org/