Project

General

Profile

Actions

Bug #282

closed

failure of test_asctime(TestTime) on mswin32

Added by usa (Usaku NAKAMURA) over 15 years ago. Updated almost 13 years ago.

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

Description

=begin
表題の通りですが、忘れないように記録に残しておきます。

test_asctime(TestTime) [(snip)/test/ruby/test_time.rb:291]:
<"Sat Jan 1 00:00:00 2000"> expected but was
<"Sat Jan 01 00:00:00 2000">.

C90を読む限りは日付の部分は月名部分に続けて "%3d" なので、MSVCRTのバグです。
しかしわざわざ対策すべきかどうかは微妙。
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0