From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 70D65138A87 for ; Mon, 23 Feb 2015 20:59:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0EEEE0897; Mon, 23 Feb 2015 20:59:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7A32EE0897 for ; Mon, 23 Feb 2015 20:59:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 55AC2340909 for ; Mon, 23 Feb 2015 20:59:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4667412674 for ; Mon, 23 Feb 2015 20:58:58 +0000 (UTC) From: "Alex Legler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alex Legler" Message-ID: <1424725105.2371c90f4f0d72eb9db29502599b78d9d2d0b0c4.a3li@gentoo> Subject: [gentoo-commits] proj/ag-web:master commit in: lib/ X-VCS-Repository: proj/ag-web X-VCS-Files: lib/helpers.rb X-VCS-Directories: lib/ X-VCS-Committer: a3li X-VCS-Committer-Name: Alex Legler X-VCS-Revision: 2371c90f4f0d72eb9db29502599b78d9d2d0b0c4 X-VCS-Branch: master Date: Mon, 23 Feb 2015 20:58:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 01112216-a059-42f4-aa46-e4f999363cee X-Archives-Hash: 782636711af8f51d8a9ad657fd986a7a commit: 2371c90f4f0d72eb9db29502599b78d9d2d0b0c4 Author: Alex Legler a3li li> AuthorDate: Mon Feb 23 20:58:25 2015 +0000 Commit: Alex Legler gentoo 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)