
Issue #20797 has been updated by k0kubun (Takashi Kokubun). Backport changed from 3.1: REQUIRED, 3.2: WONTFIX, 3.3: REQUIRED to 3.1: REQUIRED, 3.2: WONTFIX, 3.3: WONTFIX I feel the same about it. This is gonna be a WONTFIX for `ruby_3_3` too. ---------------------------------------- Bug #20797: UTC offset seconds part is not checked https://bugs.ruby-lang.org/issues/20797#change-110376 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Backport: 3.1: REQUIRED, 3.2: WONTFIX, 3.3: WONTFIX ---------------------------------------- While this raise ArgumentError: ```ruby Time.new(2024, 12, 25, 0, 0, 0, "+09:99") # ... expected for utc_offset (ArgumentError) ``` This is obviously weird. ```ruby Time.new(2024, 12, 25, 0, 0, 0, "+09:00:99").strftime("%::z") #=> "+09:01:39" ``` The latter should be an error as well as the former. -- https://bugs.ruby-lang.org/