Project

General

Profile

Actions

Bug #437

closed

test_strftime(TestTime) fails on Solaris

Added by shugo (Shugo Maeda) over 16 years ago. Updated over 13 years ago.

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

Description

=begin
test_strftime(TestTime) fails on Solaris.

$ ./ruby-trunk test/ruby/test_time.rb
Loaded suite test/ruby/test_time
Started
..................F...........
Finished in 0.017662724 seconds.

 1) Failure:

test_strftime(TestTime) [test/ruby/test_time.rb:374]:
is not true.

strftime("%Z") seems always to return the local time zone.

$ ./ruby-trunk -e 'p Time.now.gmtime'
2008-08-13 14:27:31 UTC
$ ./ruby-trunk -e 'p Time.now.gmtime.strftime("%Z")'
"JST"
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0