Gnus development mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: "Adam Sjøgren" <asjo@koldfront.dk>
Cc: ding@gnus.org
Subject: Re: gnus-article-date-headers, new type "combined-local"?
Date: Thu, 11 Apr 2019 21:31:00 +0200	[thread overview]
Message-ID: <875zrke3uz.fsf@igel.home> (raw)
In-Reply-To: <87v9zkfmur.fsf@tullinup.koldfront.dk> ("Adam =?utf-8?Q?Sj?= =?utf-8?Q?=C3=B8gren=22's?= message of "Thu, 11 Apr 2019 19:55:24 +0200")

On Apr 11 2019, Adam Sjøgren <asjo@koldfront.dk> wrote:

> Andreas writes:
>
>> On Apr 11 2019, Adam Sjøgren <asjo@koldfront.dk> wrote:
>>
>>> It looks like adding that would be another type in
>>> article-make-date-line, say combined-local.
>>>
>>> What do you think, would it make sense to add that, or is there an
>>> "easier" way?
>>
>> Try 'user-defined.
>
> The documentation of gnus-article-date-headers says:
>
>   ‘user-defined’ (a user-defined format defined by the
>   ‘gnus-article-time-format’ variable).
>
> which is almost as information-free as your answer.

RTFM.

gnus-article-time-format is a variable defined in ‘gnus-art.el’.
Its value is "%a, %d %b %Y %T %Z"

Documentation:
Format for display of Date headers in article bodies.
See ‘format-time-string’ for the possible values.

The variable can also be function, which should return a complete Date
header.  The function is called with one argument, the time, which can
be fed to ‘format-time-string’.

You can customize this variable.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



  reply	other threads:[~2019-04-11 19:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-11  7:51 Adam Sjøgren
2019-04-11 17:38 ` Andreas Schwab
2019-04-11 17:55   ` Adam Sjøgren
2019-04-11 19:31     ` Andreas Schwab [this message]
2019-04-11 19:33       ` Adam Sjøgren
2019-04-11 20:02         ` Andreas Schwab
2019-06-22 10:52 ` Lars Ingebrigtsen
2019-07-20  9:50   ` [PATCH] Add new gnus-article-date-headers option combined-local-lapsed Adam Sjøgren
2019-07-20 13:02     ` Lars Ingebrigtsen
2019-07-20 13:16       ` Adam Sjøgren

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=875zrke3uz.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=asjo@koldfront.dk \
    --cc=ding@gnus.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.
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).