summaryrefslogtreecommitdiff
path: root/test/ruby/test_time.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-30 01:58:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-30 01:58:34 +0000
commit18805586d9a524f0a351a1affd950e50166ed5e0 (patch)
treedc0f3c5ba896d1e51d4c5beaa9b96dfd52669564 /test/ruby/test_time.rb
parent7d303b2d10febdeafde9f70c1e8e54e91c54f42b (diff)
utc offset in seconds
* time.c (utc_offset_arg): utc offset can be precision in seconds. e.g. old Europe/Lisbon (c.f. [ruby-dev:40066]) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_time.rb')
-rw-r--r--test/ruby/test_time.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb
index 2648440f65..b2f099c04c 100644
--- a/test/ruby/test_time.rb
+++ b/test/ruby/test_time.rb
@@ -699,7 +699,7 @@ class TestTime < Test::Unit::TestCase
t = T2000.getlocal("+09:00:00")
assert_equal("+0900", t.strftime("%z"))
assert_equal("+09:00", t.strftime("%:z"))
- assert_equal("+09:00:01", t.strftime("%::z"))
+ assert_equal("+09:00:00", t.strftime("%::z"))
assert_equal("+09", t.strftime("%:::z"))
t = T2000.getlocal("+09:00:01")