emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH 1/2] org-gnus: trim date
@ 2010-12-14 14:32 Julien Danjou
  2010-12-14 14:32 ` [PATCH 2/2] Allow to retrieve email link date Julien Danjou
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Julien Danjou @ 2010-12-14 14:32 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Julien Danjou

* org-gnus.el (org-gnus-store-link): Trim date.

Signed-off-by: Julien Danjou <julien@danjou.info>
---
 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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-12-19 17:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-14 14:32 [PATCH 1/2] org-gnus: trim date Julien Danjou
2010-12-14 14:32 ` [PATCH 2/2] Allow to retrieve email link date Julien Danjou
2010-12-16 13:18   ` [Accepted] [Orgmode, " Carsten Dominik
2010-12-16 13:20   ` [PATCH " Carsten Dominik
2010-12-16 13:21 ` [Accepted] [Orgmode,1/2] org-gnus: trim date Carsten Dominik
2010-12-16 13:22 ` [PATCH 1/2] " Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).