# HG changeset patch # User Oleksandr Gavenko # Date 1344538917 -10800 # Node ID e723c4b0d48ce181dd164ffa19627d69b3bc0298 # Parent 5cf5a1df2fb8257ea7acb12ee61fb820c2287902 Do not show very old timestamps. diff -r 5cf5a1df2fb8 -r e723c4b0d48c .emacs-my --- a/.emacs-my Thu Aug 09 19:37:40 2012 +0300 +++ b/.emacs-my Thu Aug 09 22:01:57 2012 +0300 @@ -1428,7 +1428,7 @@ (defun gnus-user-format-function-d (header) (let ((time (gnus-group-timestamp gnus-tmp-group))) - (if time + (if (and time (time-less-p (time-subtract (current-time) time) (seconds-to-time (* 3600 24 7 30 2)))) (format-time-string "%Y-%m-%d %H:%M" time) "")))