Project

General

Profile

Bug #12227

Backport r54137 and r54184 (Fix a test that depends on daylight saving time)

Added by ReiOdaira (Rei Odaira) about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:74644]

Description

This is a ticket to back-port r54137 and r54184 to 2.3.

Associated revisions

Revision 22a852a8
Added by naruse (Yui NARUSE) about 3 years ago

merge revision(s) 54137,54184: [Backport #12227]

    * test/-ext-/time/test_new.rb (test_timespec_new): Time#gmtoff values
      are the same only when both or neither of the Time objects are in
      summer time (daylight-saving time).

    * test/-ext-/time/test_new.rb (test_timespec_new): change a gmtoff
      test to a better one that does not depend on whether the current
      time is in summer time or not.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 54418
Added by naruse (Yui NARUSE) about 3 years ago

merge revision(s) 54137,54184: [Backport #12227]

* test/-ext-/time/test_new.rb (test_timespec_new): Time#gmtoff values
  are the same only when both or neither of the Time objects are in
  summer time (daylight-saving time).

* test/-ext-/time/test_new.rb (test_timespec_new): change a gmtoff
  test to a better one that does not depend on whether the current
  time is in summer time or not.

History

Updated by naruse (Yui NARUSE) about 3 years ago

  • Backport changed from 2.1: DONTNEED, 2.2: DONTNEED, 2.3: REQUIRED to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONE

ruby_2_3 r54418 merged revision(s) 54137,54184.

Also available in: Atom PDF