summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-02-23 21:58:25 +0100
committerAlex Legler <alex@a3li.li>2015-02-23 21:58:25 +0100
commit2371c90f4f0d72eb9db29502599b78d9d2d0b0c4 (patch)
tree6c1a12771609ade53f3ba5f2273ef2ffb3fac98b
parentTry some styling fixes for HTML messages (diff)
downloadfrontend-2371c90f4f0d72eb9db29502599b78d9d2d0b0c4.tar.gz
frontend-2371c90f4f0d72eb9db29502599b78d9d2d0b0c4.tar.bz2
frontend-2371c90f4f0d72eb9db29502599b78d9d2d0b0c4.zip
All dates are UTC now, strip timezone
-rw-r--r--lib/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helpers.rb b/lib/helpers.rb
index 88b8f59..525dd93 100644
--- a/lib/helpers.rb
+++ b/lib/helpers.rb
@@ -22,7 +22,7 @@ helpers do
end
def date_format(date)
- DateTime.iso8601(date).rfc2822
+ DateTime.iso8601(date).strftime('%a, %d %b %Y %T')
end
def to_monthint(year, month)