Project

General

Profile

Actions

Bug #4457

closed

Time#strftime で %z 指定子などに大きな幅を指定した際の不具合

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

Status:
Closed
Target version:
ruby -v:
-
Backport:
[ruby-dev:43285]

Description

=begin
大きな幅を指定すると結果が空になる事があります。

$ ruby -e "p Time.now.strftime('%100000z')"
""
$ ruby -e "p Time.now.strftime('%10z')"
"+000000900"

=end


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #4456: Time#strftime で %F 指定子に大きな幅を指定した際の不具合Closedngoto (Naohisa Goto)03/02/2011Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0