Gnus development mailing list
 help / color / mirror / Atom feed
From: "Jason R. Mastaler" <jason-dated-993768225.1e668a@mastaler.com>
Subject: Adding weekday to Date header
Date: Wed, 20 Jun 2001 16:43:44 -0600	[thread overview]
Message-ID: <hh66dq6acf.fsf@nightshade.la.mastaler.com> (raw)

When reading past messages of mine, I'm getting really tired of typing
`cal' to find out what day of the week that was.

The following patch simply adds the weekday to the "Date" header that
gnus generates.  Please consider it for committal.


Index: lisp/message.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/message.el,v
retrieving revision 6.88
diff -u -r6.88 message.el
--- lisp/message.el     2001/06/19 19:44:00     6.88
+++ lisp/message.el     2001/06/20 22:26:55
@@ -3208,6 +3208,7 @@
       (setq sign "-")
       (setq zone (- zone)))
     (concat
+     (format-time-string "%a, " now)
      (format-time-string "%d" now)
      ;; The month name of the %b spec is locale-specific.  Pfff.
      (format " %s "


             reply	other threads:[~2001-06-20 22:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-20 22:43 Jason R. Mastaler [this message]
2001-06-21 10:38 ` Matthias Wiehl
2001-06-21 15:09   ` Jason R. Mastaler
2001-06-21 17:19 ` ShengHuo ZHU

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=hh66dq6acf.fsf@nightshade.la.mastaler.com \
    --to=jason-dated-993768225.1e668a@mastaler.com \
    /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.
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 NNTP newsgroup(s).