change time zone to UTC, show zone in timestamps

This commit is contained in:
jomo
2014-10-13 02:21:19 +02:00
parent f03d634b88
commit cf5207b22f
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ module ApplicationHelper
def time(tm)
if tm
content_tag :time, title: tm.strftime("%e %b %Y, %H:%M"), datetime: tm.to_datetime.rfc3339 do
content_tag :time, title: tm.strftime("%e %b %Y, %H:%M %Z"), datetime: tm.to_datetime.rfc3339 do
tm.strftime("%e %b %Y, %H:%M")
end
end