From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Danjou Subject: [PATCH 1/2] org-gnus: trim date Date: Tue, 14 Dec 2010 15:32:17 +0100 Message-ID: <1292337138-14321-1-git-send-email-julien@danjou.info> Return-path: Received: from [140.186.70.92] (port=40534 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSVvT-0001td-3G for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 09:32:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSVvR-0004ja-RT for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 09:32:22 -0500 Received: from coquelicot-s.easter-eggs.com ([213.215.37.94]:45451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSVvR-0004jL-LP for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 09:32:21 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Julien Danjou * org-gnus.el (org-gnus-store-link): Trim date. Signed-off-by: Julien Danjou --- lisp/org-gnus.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-gnus.el b/lisp/org-gnus.el index fccd3e9..32641bf 100644 --- a/lisp/org-gnus.el +++ b/lisp/org-gnus.el @@ -151,7 +151,7 @@ If `org-store-link' was called with a prefix arg the meaning of (gnus-summary-article-header))) (from (mail-header-from header)) (message-id (org-remove-angle-brackets (mail-header-id header))) - (date (mail-header-date header)) + (date (org-trim (mail-header-date header))) (date-ts (and date (format-time-string (org-time-stamp-format t) (date-to-time date)))) (date-ts-ia (and date (format-time-string -- 1.7.2.3