info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How hide the seconds in article header's date?


From: Michael Hohmuth
Subject: Re: How hide the seconds in article header's date?
Date: Tue, 24 May 2011 19:59:32 -0000
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/23.1 (gnu/linux)

Damien Wyart <damien.wyart@free.fr> writes:

> Yes, that might be closer to what the op would like. After some source
> reading, it looks like that would require quite deep hacking inside
> article-lapsed-string, so I can't propose a working solution quickly.

Here's the solution I use:

;; Do not show seconds in elapsed time
(setq article-time-units
  `((year . ,(* 365.25 24 60 60))
    (week . ,(* 7 24 60 60))
    (day . ,(* 24 60 60))
    (hour . ,(* 60 60))
    (minute . 60)))

Michael


reply via email to

[Prev in Thread] Current Thread [Next in Thread]