Actions
Bug #4458
closedTime#strftime で %z 指定子での結果への空白を詰めかたが正しくない
Description
=begin
$ ruby -e "p Time.now.strftime('%_10z')"
"+ 900"
=end
Files
Actions
Like0
Like0Like0Like0Like0Like0
Added by tadf (tadayoshi funaba) almost 14 years ago. Updated over 12 years ago.
Description
=begin
$ ruby -e "p Time.now.strftime('%_10z')"
"+ 900"
=end
Files
patch.diff (1.92 KB) patch.diff | Glass_saga (Masaki Matsushita), 04/16/2012 10:43 PM | ||
patch2.diff (1.93 KB) patch2.diff | Glass_saga (Masaki Matsushita), 04/17/2012 12:29 AM | ||
patch3.diff (1.95 KB) patch3.diff | Glass_saga (Masaki Matsushita), 04/17/2012 12:41 AM |
patchを作りました。
空白以外のpaddingを指定した時に正しく動かないので修正しました。
何度もすみません。
出すべきpatchはこちらでした。
This issue was solved with changeset r35366.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.