diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-08-08 22:43:56 +0900 |
---|---|---|
committer | git <[email protected]> | 2022-08-08 23:50:17 +0900 |
commit | e07d450deae500422b7693a30c75c5b1567601a2 (patch) | |
tree | 856b46413ab3f44a41612f13127e4758b1219602 /ext/continuation | |
parent | 43239b23b48a6c3fde6bdc4b9cc568bedac161b2 (diff) |
[ruby/date] Fix Time#to_datetime before calendar reform
Time is always in the proleptic Gregorian calendar.
Also DateTime#to_time should convert to the Gregorian calendar first,
before extracting its components.
https://bugs.ruby-lang.org/issues/18946#change-98527
https://github.com/ruby/date/commit/b2aee75248
Diffstat (limited to 'ext/continuation')
0 files changed, 0 insertions, 0 deletions