[ruby-core:32808] [Ruby-Feature#3950] Can't create date or time 2010-10-17 00:00:00

From: Luis Lavena <redmine@...>
Date: 2010-10-15 15:31:40 UTC
List: ruby-core #32808
Issue #3950 has been updated by Luis Lavena.


Feature, you'are asking for the time of that particular day, which is actually the day it start daylight saving.

So you will loose 1 hour that day, that is what you're seeing there.

In my case (Argentina), there is no daylight saving and thus, I can get that precise hour. Try:

Time.local 2010, 10, 17, 1

That should work, right?
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3950

----------------------------------------
http://redmine.ruby-lang.org

In This Thread