Actions
Bug #17504
closedAllow UTC offset without colons per ISO-8601
Description
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.
Updated by nobu (Nobuyoshi Nakada) almost 4 years ago
- Description updated (diff)
- Backport changed from 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN to 2.5: REQUIRED, 2.6: REQUIRED, 2.7: REQUIRED, 3.0: REQUIRED
Updated by nobu (Nobuyoshi Nakada) almost 4 years ago
- Related to Feature #17485: Keyword argument for timezone in Time.new added
Updated by matz (Yukihiro Matsumoto) almost 4 years ago
Accepted.
Matz.
Updated by nobu (Nobuyoshi Nakada) almost 4 years ago
- Status changed from Open to Closed
Applied in changeset git|9441f3f97087a4325ee80911859d37da41fa5050.
Allow UTC offset without colons per ISO-8601 [Bug #17504]
Updated by naruse (Yui NARUSE) almost 4 years ago
- 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 5501e1038eb1f606d4b941115fcc45e6e01a0de4.
Updated by nagachika (Tomoyuki Chikanaga) over 3 years ago
- 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.
Updated by usa (Usaku NAKAMURA) over 3 years ago
- Backport changed from 2.5: REQUIRED, 2.6: REQUIRED, 2.7: DONE, 3.0: DONE to 2.5: REQUIRED, 2.6: DONE, 2.7: DONE, 3.0: DONE
ruby_2_6 r67928 merged revision(s) f4be7a510eebbe6507ba41d138d7d252f4a68e90,9441f3f97087a4325ee80911859d37da41fa5050.
Updated by nobu (Nobuyoshi Nakada) about 2 years ago
- Has duplicate Misc #19121: Time: utc offset argument's formats "+/-HH", "+/-HHMM", "+/-HHMMSS" are supported differently added
Updated by nobu (Nobuyoshi Nakada) about 2 years ago
- 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 9441f3f97087a4325ee80911859d37da41fa5050.
Updated by Eregon (Benoit Daloze) about 1 month ago
- Related to Feature #18033: Time.new to parse a string added
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0