Skip to content

Commit

Permalink
was displaying seconds instead of minutes in last updated field
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenwilkin committed Sep 1, 2009
1 parent 77f525a commit 1328221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion istrending.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
json = JSON.parse(File.read(file))
@trends = json['trends']
@updated_full = json['as_of']
@updated = DateTime.parse(@updated_full).strftime('%H:%S')
@updated = DateTime.parse(@updated_full).strftime('%H:%M')
haml :index
end

Expand Down

0 comments on commit 1328221

Please sign in to comment.