Project

General

Profile

Bug #16767

Updated by nobu (Nobuyoshi Nakada) over 4 years ago

Confirmed on: Ruby 2.6.3 and 2.7.0 on Mac OS X 10.13. 

 ```ruby ``` 
 require 'time' 
 Time .now .strftime("%28c") 
 ``` 

 Expected: 
 ``` 
 "      Tue Apr    7 12:44:16 2020" 
 ``` 

 Actual: 
 ``` 
 "      \u0000ue Apr    7 12:44:16 2020" 
 ``` 

 Appendix: 
 * For `"%c"`, 26 worked, but 27+ did not work. 
 * Confirmed similar for other recurred formats like `"%R"`, `"%F"`, and else. 

Back