ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:109233] [Ruby master Bug#18922] Time at 24:00:00 UTC is not normalized since 3.1
@ 2022-07-17 13:41 nobu (Nobuyoshi Nakada)
  2022-07-17 15:08 ` [ruby-core:109234] [Ruby master Bug#18922] Time at 24:00:00 UTC is not normalized nobu (Nobuyoshi Nakada)
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: nobu (Nobuyoshi Nakada) @ 2022-07-17 13:41 UTC (permalink / raw)
  To: ruby-core

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

----------------------------------------
Bug #18922: Time at 24:00:00 UTC is not normalized since 3.1
https://bugs.ruby-lang.org/issues/18922

* Author: nobu (Nobuyoshi Nakada)
* Status: Open
* Priority: Normal
* Backport: 2.7: DONTNEED, 3.0: DONTNEED, 3.1: REQUIRED
----------------------------------------
Reported by @mame.

```shell-session
$ ruby3.0 -e 'p Time.new(2000, 1, 1, 24, 0, 0, "-00:00").to_a[0, 6]'
[0, 0, 0, 2, 1, 2000]
```
```shell-session
$ ruby3.1 -e 'p Time.new(2000, 1, 1, 24, 0, 0, "-00:00").to_a[0, 6]'
[0, 0, 24, 1, 1, 2000]
```
```shell-session
$ ruby3.2 -e 'p Time.new(2000, 1, 1, 24, 0, 0, "-00:00").to_a[0, 6]'
[0, 0, 24, 1, 1, 2000]
```



-- 
https://bugs.ruby-lang.org/

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

end of thread, other threads:[~2022-09-25  4:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-17 13:41 [ruby-core:109233] [Ruby master Bug#18922] Time at 24:00:00 UTC is not normalized since 3.1 nobu (Nobuyoshi Nakada)
2022-07-17 15:08 ` [ruby-core:109234] [Ruby master Bug#18922] Time at 24:00:00 UTC is not normalized nobu (Nobuyoshi Nakada)
2022-07-18 12:18 ` [ruby-core:109237] " mame (Yusuke Endoh)
2022-09-25  4:44 ` [ruby-core:110059] " nagachika (Tomoyuki Chikanaga)

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).