Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix !search_twitter - vendor/utils/twitter_search.rb

  • Loading branch information...
commit ced3fd682d7bf880a979085365c07cebfb2846e0 1 parent 65c0452
@lian lian authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.