-
Notifications
You must be signed in to change notification settings - Fork 227
Timezone problem when calling Timecop.freeze at v0.5.8 #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just saw this issue with Timecop.travel: [1] > Time.now
=> 2013-01-08 21:55:09 -0700
[2] > Timecop.travel(1.hour.ago) { Time.now }
=> 2013-01-08 12:55:46 -0700 I just updated Timecop from 0.5.3 to 0.5.8 |
This does not occur in 0.5.7: [1] > Time.now |
Ah! I had seen that problem before and just didn't write a test to cover it at the time. Got a test in there now to cover this now though so to it won't happen again. Fixed in |
Thank you for your very quick fix. Well, maybe you forgot to upgrade version number at https://github.com/travisjeffery/timecop/blob/master/lib/timecop/version.rb to |
… different for time zones (fix #63)
@kyanny whoops, you're right. It's up there now for sure. |
At v0.5.8, Timecop.freeze has timezone issue (similar to #57)
It seems that 68ec6ad occurs this issue.
I think the behaviour removed at 68ec6ad#L0R60 was neccessary.
Since it's the timezone matter problem, running
rake test
also failed on my laptop. My timezone is Asia/Tokyo (+09:00).The text was updated successfully, but these errors were encountered: