ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:101888] [Ruby master Bug#17504] Allow UTC offset without colons per ISO-8601
@ 2021-01-03 15:36 nobu
  2021-01-13  7:37 ` [ruby-core:102057] " matz
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: nobu @ 2021-01-03 15:36 UTC (permalink / raw)
  To: ruby-core

Issue #17504 has been reported by nobu (Nobuyoshi Nakada).

----------------------------------------
Bug #17504: Allow UTC offset without colons per ISO-8601
https://bugs.ruby-lang.org/issues/17504

* Author: nobu (Nobuyoshi Nakada)
* Status: Open
* Priority: Normal
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
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://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-11-14 23:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-03 15:36 [ruby-core:101888] [Ruby master Bug#17504] Allow UTC offset without colons per ISO-8601 nobu
2021-01-13  7:37 ` [ruby-core:102057] " matz
2021-02-01 10:09 ` [ruby-core:102350] " naruse
2021-02-27  6:01 ` [ruby-core:102636] " nagachika00
2021-04-04 23:45 ` [ruby-core:103224] " usa
2022-11-14 23:11 ` [ruby-core:110756] " nobu (Nobuyoshi Nakada)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).