From: "kei-p (Keisuke Ishizawa)" Date: 2022-07-29T06:29:06+00:00 Subject: [ruby-dev:51185] [Ruby master Bug#18946] Time#to_date returns incorrect date 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/