From: Julien Danjou <julien@danjou.info>
To: emacs-orgmode@gnu.org
Cc: Julien Danjou <julien@danjou.info>
Subject: [PATCH 1/2] org-gnus: trim date
Date: Tue, 14 Dec 2010 15:32:17 +0100 [thread overview]
Message-ID: <1292337138-14321-1-git-send-email-julien@danjou.info> (raw)
* 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
next reply other threads:[~2010-12-14 14:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-14 14:32 Julien Danjou [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1292337138-14321-1-git-send-email-julien@danjou.info \
--to=julien@danjou.info \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).