From: "nobu (Nobuyoshi Nakada)" Date: 2022-11-14T23:11:18+00:00 Subject: [ruby-core:110756] [Ruby master Bug#17504] Allow UTC offset without colons per ISO-8601 Issue #17504 has been updated by nobu (Nobuyoshi Nakada). Backport changed from 2.5: REQUIRED, 2.6: DONE, 2.7: DONE, 3.0: DONE to 2.5: REQUIRED, 2.6: DONE, 2.7: DONE, 3.0: REQUIRED 3.0 branch has not backported commit:9441f3f97087a4325ee80911859d37da41fa5050. ---------------------------------------- Bug #17504: Allow UTC offset without colons per ISO-8601 https://bugs.ruby-lang.org/issues/17504#change-100094 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Priority: Normal * Backport: 2.5: REQUIRED, 2.6: DONE, 2.7: DONE, 3.0: REQUIRED ---------------------------------------- Although ISO-8601 allows UTC offset to be `+HHMM` as well as `+HH:MM`, `Time.new`, `Time#getlocal` etc reject that format as invalid. I think this is a bug, especially as far as even `Time#inspect` uses it. https://github.com/ruby/ruby/pull/4020 -- https://bugs.ruby-lang.org/ Unsubscribe: