Amend wiki listing and general timezone formats (fixes #2649)
This commit is contained in:
@@ -76,8 +76,7 @@ module ApplicationHelper
|
||||
end
|
||||
|
||||
def time_tag(content, time)
|
||||
zone = time.strftime("%z")
|
||||
datetime = time.strftime("%Y-%m-%dT%H:%M" + zone[0, 3] + ":" + zone[3, 2])
|
||||
datetime = time.strftime("%Y-%m-%dT%H:%M%:z")
|
||||
|
||||
content_tag(:time, content || datetime, :datetime => datetime, :title => time.to_formatted_s)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user