Permalink
Browse files

Fixed human_date. %m certainly isn't the same thing as %M in strftime :)

  • Loading branch information...
1 parent 7c16905 commit a1c1740a0aa14041980f1b9106b9e2a77c7c24c0 @karmi committed Jul 1, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 chat.rb
View
@@ -68,7 +68,7 @@ def self.load_messages
def human_date(t)
Time.at(t).strftime('%m/%d').gsub(/0(\d)/, '\1') +
' ' +
- Time.at(t).strftime('%H:%m')
+ Time.at(t).strftime('%H:%M')
end
end

0 comments on commit a1c1740

Please sign in to comment.