From 8ed687a4d7b7a77f30f8e937f58aae74bfb699b6 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 23 Jul 2020 11:32:54 +0900 Subject: [PATCH] Test for weeknumber with timezone [Bug #17042] --- test/ruby/test_time_tz.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ruby/test_time_tz.rb b/test/ruby/test_time_tz.rb index 1d86d0c9f7..4cf1fcbf4d 100644 --- a/test/ruby/test_time_tz.rb +++ b/test/ruby/test_time_tz.rb @@ -632,6 +632,7 @@ module TestTimeTZ::WithTZ h, m = (utc_offset.abs / 60).divmod(60) h = -h if utc_offset < 0 assert_equal("%+.2d%.2d %s" % [h, m, abbr], t.strftime("%z %Z")) + assert_equal("34 35 35", t.strftime("%U %V %W")) end def subtest_plus(time_class, tz, tzarg, tzname, abbr, utc_offset)