Permalink
Browse files

fix !search_twitter - vendor/utils/twitter_search.rb

  • Loading branch information...
1 parent 65c0452 commit ced3fd682d7bf880a979085365c07cebfb2846e0 @lian lian committed May 15, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 vendor/utils/twitter_search.rb
View
2 vendor/utils/twitter_search.rb
@@ -16,7 +16,7 @@ def initialize(opts)
end
def time_ago
- self.time_ago_or_time_stamp Time.parse( @created_at[0..18] )
+ self.class.time_ago_or_time_stamp Time.parse( @created_at[0..18] )
end
def self.time_ago_or_time_stamp(from_time, to_time = Time.now, include_seconds = true, detail = false)
from_time = from_time.to_time if from_time.respond_to?(:to_time)

0 comments on commit ced3fd6

Please sign in to comment.