Permalink
Browse files

Revert "explicitly parse Time"

This reverts commit 2e09fa6.
  • Loading branch information...
1 parent 2e09fa6 commit 46ff499303457c2ea6fbadb0172f6e773ade6ba5 @jsmestad committed Feb 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/stale_fish/fixture.rb
@@ -10,7 +10,7 @@ def initialize(attributes={})
end
def is_stale?
- if last_updated_at.nil? || (Time.parse(last_updated_at) + update_interval) < Time.now
+ if last_updated_at.nil? || (last_updated_at + update_interval) < Time.now
return true
else
return false

0 comments on commit 46ff499

Please sign in to comment.