Test for weeknumber with timezone [Bug #17042]

This commit is contained in:
Nobuyoshi Nakada 2020-07-23 11:32:54 +09:00
parent f120e65200
commit 8ed687a4d7
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -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)