From: Benoit Daloze Date: 2010-06-09T19:59:47+09:00 Subject: [ruby-core:30693] Re: [Bug #3411] Time.local 1916,5,1 #=> 1916-04-30 23:00:00 +0100 Hi, On 9 June 2010 11:01, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: [ruby-core:30683] Re: [Bug #3411] Time.local 1916,5,1 #=> � � � 1916-04-30 23:00:00 +0100" > � �on Wed, 9 Jun 2010 10:21:37 +0900, Tanaka Akira writes: > > |This shows that a second after 1916-04-30 23:59:59 is 1916-05-01 01:00:00. > | > |So, it is difficult to define the result of Time.local(1916,5,1). > | > |It seems Ruby 1.9.1 interpretes it as 1 second after 1916-04-30 23:59:59. > |It seems Ruby 1.9.2 interpretes it as 1 hour before 1916-05-01 01:00:00. > > I prefer the 1.9.1 behavior (or something like it), because the result > differs from the specified date in the latter case. > > � � � � � � � � � � � � � � � � � � � � � � � � � � � �matz. I do prefer the 1.9.1 behavior too, because it is more intuitive and consistent to keep the good day. Are they any downside ? Why did it changed ? B.D.