From: nagachika00@... Date: 2021-02-27T06:01:42+00:00 Subject: [ruby-core:102636] [Ruby master Bug#17504] Allow UTC offset without colons per ISO-8601 Issue #17504 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 2.5: REQUIRED, 2.6: REQUIRED, 2.7: REQUIRED, 3.0: DONE to 2.5: REQUIRED, 2.6: REQUIRED, 2.7: DONE, 3.0: DONE ruby_2_7 190ffd8761bec206582095028e5752ae5ccd7587 merged revision(s) f4be7a510eebbe6507ba41d138d7d252f4a68e90,9441f3f97087a4325ee80911859d37da41fa5050. ---------------------------------------- Bug #17504: Allow UTC offset without colons per ISO-8601 https://bugs.ruby-lang.org/issues/17504#change-90628 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Priority: Normal * Backport: 2.5: REQUIRED, 2.6: REQUIRED, 2.7: DONE, 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: