From: "nagachika (Tomoyuki Chikanaga)" Date: 2022-09-25T04:44:12+00:00 Subject: [ruby-core:110059] [Ruby master Bug#18922] Time at 24:00:00 UTC is not normalized Issue #18922 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 2.7: REQUIRED, 3.0: REQUIRED, 3.1: REQUIRED to 2.7: REQUIRED, 3.0: REQUIRED, 3.1: DONE ruby_3_1 13ee4b2c35bad0f893d5ed5a6fdca62da406f958 merged revision(s) 68903df6f6fc548f3bf68fb09ee8b2495dcd28f0. ---------------------------------------- Bug #18922: Time at 24:00:00 UTC is not normalized https://bugs.ruby-lang.org/issues/18922#change-99310 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Priority: Normal * Backport: 2.7: REQUIRED, 3.0: REQUIRED, 3.1: DONE ---------------------------------------- Reported by @mame. ```shell-session $ ruby3.0 -e 'p Time.new(2000, 1, 1, 24, 0, 0, "-00:00").to_a[0, 6]' [0, 0, 0, 2, 1, 2000] ``` ```shell-session $ ruby3.1 -e 'p Time.new(2000, 1, 1, 24, 0, 0, "-00:00").to_a[0, 6]' [0, 0, 24, 1, 1, 2000] ``` ```shell-session $ ruby3.2 -e 'p Time.new(2000, 1, 1, 24, 0, 0, "-00:00").to_a[0, 6]' [0, 0, 24, 1, 1, 2000] ``` -- https://bugs.ruby-lang.org/ Unsubscribe: