From: matz@... Date: 2021-01-13T07:37:41+00:00 Subject: [ruby-core:102057] [Ruby master Bug#17504] Allow UTC offset without colons per ISO-8601 Issue #17504 has been updated by matz (Yukihiro Matsumoto). Accepted. Matz. ---------------------------------------- Bug #17504: Allow UTC offset without colons per ISO-8601 https://bugs.ruby-lang.org/issues/17504#change-89913 * Author: nobu (Nobuyoshi Nakada) * Status: Open * Priority: Normal * Backport: 2.5: REQUIRED, 2.6: REQUIRED, 2.7: REQUIRED, 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: