From: naruse@... Date: 2021-02-01T10:09:57+00:00 Subject: [ruby-core:102350] [Ruby master Bug#17504] Allow UTC offset without colons per ISO-8601 Issue #17504 has been updated by naruse (Yui NARUSE). Backport changed from 2.5: REQUIRED, 2.6: REQUIRED, 2.7: REQUIRED, 3.0: REQUIRED to 2.5: REQUIRED, 2.6: REQUIRED, 2.7: REQUIRED, 3.0: DONE ruby_3_0 commit:5501e1038eb1f606d4b941115fcc45e6e01a0de4. ---------------------------------------- Bug #17504: Allow UTC offset without colons per ISO-8601 https://bugs.ruby-lang.org/issues/17504#change-90210 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Priority: Normal * Backport: 2.5: REQUIRED, 2.6: REQUIRED, 2.7: REQUIRED, 3.0: DONE ---------------------------------------- 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: