Amend wiki listing and general timezone formats (fixes #2649)

This commit is contained in:
Type-kun
2016-09-01 22:37:09 +05:00
parent 73d62bbc01
commit 93fca3ce2b
2 changed files with 2 additions and 3 deletions

View File

@@ -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