Permalink
Browse files

Force time obj for check timeout initial

  • Loading branch information...
1 parent 71594de commit 2af4e11420650179db24a223c17fe952458b949d @kyledrake kyledrake committed Jun 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 user.rb
View
@@ -8,7 +8,7 @@ def initialize(user_id, hour_summary, check_timeout)
@user_id = user_id
if hour_summary.nil? && check_timeout_time.nil?
- @current_forecast = Hashie::Mash.new(hour_summary: 'clear', check_timeout_time: 0)
+ @current_forecast = Hashie::Mash.new(hour_summary: 'clear', check_timeout_time: Time.at(0))
persist 'clear', 0
else
@current_forecast = Hashie::Mash.new(hour_summary: hour_summary, check_timeout_time: check_timeout_time)

0 comments on commit 2af4e11

Please sign in to comment.