dmikurube (Dai MIKURUBE)
- Login: dmikurube
- Registered on: 02/15/2018
- Last sign in: 03/28/2023
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 4 | 4 |
Activity
03/28/2023
-
09:52 AM Ruby Bug #19552: Time.strftime("%-:::z") behaves differently between 2.7/3.0 v.s. 3.1/3.2
- Sorry, I was unaware that the origin is now in `ruby/date`. I re-submitted an Issue at: https://github.com/ruby/date/issues/93
-
09:38 AM Ruby Bug #19552 (Closed): Time.strftime("%-:::z") behaves differently between 2.7/3.0 v.s. 3.1/3.2
- ``` ruby
puts Time.now.utc.strftime("%-:::z")
```
Until Ruby 3.0 (tested with 2.7.7 and 3.0.5) :
```
+00
```
From Ruby 3.1 (tested with 3.1.3 and 3.2.1)
```
-00
```
04/07/2020
-
12:50 PM Ruby Bug #16768 (Rejected): "\n" started not to work as a delimiter in time zone names for Date._strptime since 2.7.0
- Confirmed on: Ruby 2.7.0 on Mac OS X 10.13.
```
require 'date'
DateTime._strptime("aus\neastern standard time", "%z")
```
Expected (Ruby 2.6.3 works like this):
```
=> {:zone=>"aus\neastern standard time", :offset=>36000}
`... -
12:45 PM Ruby Bug #16767 (Closed): Time#strftime not working correctly with a big precision on recurred formats like "%c"
- Confirmed on: Ruby 2.6.3 and 2.7.0 on Mac OS X 10.13.
```ruby
Time .now .strftime("%28c")
```
Expected:
```
" Tue Apr 7 12:44:16 2020"
```
Actual:
```
" \u0000ue Apr 7 12:44:16 2020"
```
Appendix:
* For `"%c"...
11/25/2018
-
02:53 PM Ruby Bug #15340 (Closed): Time.local behaving inconsistently for excess days after 2038
- Time.local accepts a day of month that exceeds the largest day of the month, for example, 2018-02-31. The behavior looks inconsistent before v.s. after 2038. Are they expected behavior?
The behavior looks somewhat reasonable before 20...