[#109207] [Ruby master Feature#18915] New error class: NotImplementedYetError or scope change for NotImplementedYet — Quintasan <noreply@...>
Issue #18915 has been reported by Quintasan (Michał Zając).
18 messages
2022/07/14
[ruby-core:109233] [Ruby master Bug#18922] Time at 24:00:00 UTC is not normalized since 3.1
From:
"nobu (Nobuyoshi Nakada)" <noreply@...>
Date:
2022-07-17 13:41:03 UTC
List:
ruby-core #109233
Issue #18922 has been reported by nobu (Nobuyoshi Nakada). ---------------------------------------- Bug #18922: Time at 24:00:00 UTC is not normalized since 3.1 https://bugs.ruby-lang.org/issues/18922 * Author: nobu (Nobuyoshi Nakada) * Status: Open * Priority: Normal * Backport: 2.7: DONTNEED, 3.0: DONTNEED, 3.1: REQUIRED ---------------------------------------- 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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>