commit: 2371c90f4f0d72eb9db29502599b78d9d2d0b0c4
Author: Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Mon Feb 23 20:58:25 2015 +0000
Commit: Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Mon Feb 23 20:58:25 2015 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/ag-web.git;a=commit;h=2371c90f
All dates are UTC now, strip timezone
---
lib/helpers.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)