Project

General

Profile

Actions

Bug #4458

closed

Time#strftime で %z 指定子での結果への空白を詰めかたが正しくない

Added by tadf (tadayoshi funaba) almost 14 years ago. Updated over 12 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2011-03-02) [i686-linux]
Backport:
[ruby-dev:43287]

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

Updated by naruse (Yui NARUSE) over 13 years ago

  • Status changed from Open to Assigned
  • Assignee set to akr (Akira Tanaka)
  • Target version set to 2.0.0

Updated by Glass_saga (Masaki Matsushita) over 12 years ago

patchを作りました。

Updated by Glass_saga (Masaki Matsushita) over 12 years ago

空白以外のpaddingを指定した時に正しく動かないので修正しました。

Updated by Glass_saga (Masaki Matsushita) over 12 years ago

何度もすみません。
出すべきpatchはこちらでした。

Actions #5

Updated by nobu (Nobuyoshi Nakada) over 12 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

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.


Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0