Permalink
Browse files

was displaying seconds instead of minutes in last updated field

  • Loading branch information...
1 parent 77f525a commit 132822119addb1be8250cbb3f0fef3e0140f3fd8 @stevenwilkin committed Sep 1, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 istrending.rb
View
@@ -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

0 comments on commit 1328221

Please sign in to comment.