Fixed a few ruby19-isms for compatibility with ruby18

This commit is contained in:
Dean Matzkov
2011-09-06 01:36:57 -06:00
parent 60abc867ca
commit feaa3353f2
3 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ module ApplicationHelper
end
end
def time_tag(content = nil, time)
def time_tag(content, time)
zone = time.strftime("%z")
datetime = time.strftime("%Y-%m-%dT%H:%M" + zone[0, 3] + ":" + zone[3, 2])