Project

General

Profile

Actions

Bug #784

closed

Time#strftime で %t、%n について幅指定が無効になる

Added by tadf (tadayoshi funaba) over 15 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
Backport:

Description

=begin
$ ./ruby -e "p Time.now.strftime('[%010t]')"
"[\t]"

$ ./ruby -e "p Time.now.strftime('[%010n]')"
"[\n]"

$ ruby18 -e "p Time.now.strftime('[%010t]')"
"[000000000\t]"

$ ruby18 -e "p Time.now.strftime('[%010n]')"
"[000000000\n]"
=end

Actions #1

Updated by matz (Yukihiro Matsumoto) over 15 years ago

  • Status changed from Open to Closed

=begin
fixed by r20340.
=end

Actions

Also available in: Atom PDF

Like0
Like0