Merge pull request #5 from Bapabooiee/master
Compatibility fixes for ruby-1.8
This commit is contained in:
@@ -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])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user