[#30589] [Bug #3391] Use single exclamation mark instead of double exclamation mark for IRB — Diego Viola <redmine@...>

Bug #3391: Use single exclamation mark instead of double exclamation mark for IRB

10 messages 2010/06/04

[#30672] [Bug #3411] Time.local 1916,5,1 #=> 1916-04-30 23:00:00 +0100 — Benoit Daloze <redmine@...>

Bug #3411: Time.local 1916,5,1 #=> 1916-04-30 23:00:00 +0100

12 messages 2010/06/08

[#30699] [Bug #3419] 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter — Joe Sak <redmine@...>

Bug #3419: 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter

9 messages 2010/06/09

[#30734] [Bug #3428] ri outputs ansi escape sequences even when stdout is not a tty — caleb clausen <redmine@...>

Bug #3428: ri outputs ansi escape sequences even when stdout is not a tty

11 messages 2010/06/11

[#30756] [Feature #3436] Spawn the timer thread lazily — Maximilian Gass <redmine@...>

Feature #3436: Spawn the timer thread lazily

15 messages 2010/06/13
[#32686] [Ruby 1.9-Feature#3436] Spawn the timer thread lazily — Mark Somerville <redmine@...> 2010/10/04

Issue #3436 has been updated by Mark Somerville.

[ruby-core:30681] Re: [Bug #3411] Time.local 1916,5,1 #=> 1916-04-30 23:00:00 +0100

From: Benoit Daloze <eregontp@...>
Date: 2010-06-08 23:42:45 UTC
List: ruby-core #30681
Hi !
On 9 June 2010 00:27, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
> Hi,
>
> Cannot reproduce on my timezone. ould you tell us your timezone
> setting?
>
> atz.

Yes, I suppose The Land of the Rising Sun is far enough from UTC :)

I am at Brussels, BRU - Belgium, CEST (UTC+2) (and so CET (UTC+1) in winter).

On 9 June 2010 00:34, Hirotsugu Asari <asari.ruby@gmail.com> wrote:
> I think this is most definitely a time zone thing:
> $ uname -a; TZ=Europe/Amsterdam ruby1.9 -e 'p Time.local 1916,5,1'
> Darwin aotearoa.local 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26
> 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386 i386
> 1916-04-30 23:00:00 +0020
> Besides Europe/Amsterdam, Asia/Istanbul and Europe/Brussels return this
> result on my machine.

Indeed, this seems particular to UTC+1
Is this expected? :
$ TZ=Europe/Bucharest ruby -e 'p Time.local 1916,5,1' # 1916-05-01
00:00:00 +0144
$ TZ=Europe/Budapest ruby -e 'p Time.local 1916,5,1' # 1916-05-01 00:00:00 +0200
$ TZ=Europe/Riga ruby -e 'p Time.local 1916,5,1' # 1916-05-01 00:00:00 +0136
$ TZ=Europe/Helsinki ruby -e 'p Time.local 1916,5,1' # 1916-05-01 00:00:00 +0140

Should I try to find some history about timezones? (if I use Time.now,
I get expected results)

Anyway, knowing timezones have changed, I think I should use only
Time.utc for old dates in which only the day matters.
But this is still surprising me.

Regards,
B.D.

In This Thread