Merge pull request #5 from Bapabooiee/master

Compatibility fixes for ruby-1.8
This commit is contained in:
r888888888
2011-09-06 08:05:13 -07:00
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])