[#75225] [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7) — k@...
Issue #12324 has been reported by Kazuki Yamaguchi.
6 messages
2016/04/27
[#78693] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Eric Wong <normalperson@...>
2016/12/17
k@rhe.jp wrote:
[#78701] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Kazuki Yamaguchi <k@...>
2016/12/17
On Sat, Dec 17, 2016 at 01:31:12AM +0000, Eric Wong wrote:
[#78702] Re: [Ruby trunk Feature#12324] Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
— Eric Wong <normalperson@...>
2016/12/17
Kazuki Yamaguchi <k@rhe.jp> wrote:
[ruby-core:74889] [Ruby trunk Bug#12271] `Time#to_time` removes timezone information
From:
spiketeika@...
Date:
2016-04-12 09:35:34 UTC
List:
ruby-core #74889
Issue #12271 has been reported by Kaneko Yuichiro. ---------------------------------------- Bug #12271: `Time#to_time` removes timezone information https://bugs.ruby-lang.org/issues/12271 * Author: Kaneko Yuichiro * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- ```ruby irb(main):001:0> RUBY_VERSION => "2.3.0" irb(main):002:0> require 'date' => true irb(main):003:0> ENV['TZ'] = 'US/Eastern' => "US/Eastern" irb(main):004:0> time = Time.new(2005, 2, 21, 10, 11, 12, '+09:00') => 2005-02-21 10:11:12 +0900 irb(main):005:0> time.to_time => 2005-02-20 20:11:12 -0500 ``` Same as https://bugs.ruby-lang.org/issues/12189, `Time#to_time` does not use self timezone. I think it is better to make it to match with `DateTime#to_time` behavior. ---Files-------------------------------- time.diff (1.35 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>