General

Profile

kei-p (Keisuke Ishizawa)

  • Login: kei-p
  • Registered on: 07/29/2022
  • Last sign in: 07/29/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

07/29/2022

08:26 AM Ruby Bug #18946: Time#to_date returns incorrect date
> Time seems to use a proleptic Gregorian calendar (the Gregorian calendar extended to before the Gregorian reform, see https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar) while Date seems to be using the Julian calendar before t... kei-p (Keisuke Ishizawa)
06:29 AM Ruby Bug #18946 (Closed): Time#to_date returns incorrect date
Time#to_date returns incorrect date.
Actual Behavior:
```
Time.local(1499, 12, 27).to_date
=> #<Date: 1499-12-18 ((2268919j,0s,0n),+0s,2299161j)>
```
Expected Behavior:
```
Time.local(1499, 12, 27).to_date
=> #<Date: 1499-12...
kei-p (Keisuke Ishizawa)

Also available in: Atom