diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-08-08 22:43:56 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2022-08-08 23:50:17 +0900 |
| commit | e07d450deae500422b7693a30c75c5b1567601a2 (patch) | |
| tree | 856b46413ab3f44a41612f13127e4758b1219602 /include/ruby/ruby.h | |
| 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 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions
