This project is archived and is in readonly mode.
Date bug in rails 3
-
ninajansen
Same problem in rails 3.0.3, ruby 1.8.7
-
esparkman
I am unable to reproduce this with Ruby 1.8.7-p330 and Rails 3.0.1.
-
ninajansen
I'm on rails 3.0.3, ruby 1.8.7-p302, the bug only occurred in the first hour of the day, i.e. from 00:00 to 00:59
-
esparkman
Loading development environment (Rails 3.0.1)
ruby-1.8.7-p330 :001 > Date.today
=> Fri, 31 Dec 2010 ruby-1.8.7-p330 :002 > Date.yesterday
=> Thu, 30 Dec 2010 ruby-1.8.7-p330 :003 >That is what I got my system time is set to 12:40AM
-
Oluf Nielsen
I'm using the 24h system, and when i take it to 0.45 on my mac ( 1 hour back ) it gives me this
>> Date.today => Fri, 31 Dec 2010 >> Date.yesterday => Wed, 29 Dec 2010it looks like this in my terminal with the time set back..
https://skitch.com/olufnielsen/r8gqs/systemuiserver -
Rohit Arondekar
- State changed from new to duplicate
- Importance changed from to Low
