Skip to content

Commit

Permalink
fix utcbug
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee authored and xdite committed Feb 22, 2012
1 parent c54cb88 commit 8bf5af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Expand Up @@ -50,7 +50,7 @@ def owner?(item)

def timeago(time, options = {})
options[:class] ||= "timeago"
content_tag(:abbr, time.to_s, options.merge(:title => time.getutc.iso8601)) if time
content_tag(:abbr, "", options.merge(:title => time.iso8601)) if time
end

def render_page_title
Expand Down

0 comments on commit 8bf5af9

Please sign in to comment.