ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: usa@garbagecollect.jp
To: ruby-core@ruby-lang.org
Subject: [ruby-core:103224] [Ruby master Bug#17504] Allow UTC offset without colons per ISO-8601
Date: Sun, 04 Apr 2021 23:45:30 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-91302.20210404234529.4@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-17504.20210103153608.4@ruby-lang.org

Issue #17504 has been updated by usa (Usaku NAKAMURA).

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.

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

* Author: nobu (Nobuyoshi Nakada)
* Status: Closed
* Priority: Normal
* Backport: 2.5: REQUIRED, 2.6: DONE, 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/

  parent reply	other threads:[~2021-04-04 23:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` usa [this message]
2022-11-14 23:11 ` [ruby-core:110756] " nobu (Nobuyoshi Nakada)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-91302.20210404234529.4@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).