[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b22dffb: Fix Gnus display of timestamps that's less
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master b22dffb: Fix Gnus display of timestamps that's less than a second old |
Date: |
Fri, 23 Aug 2019 01:19:55 -0400 (EDT) |
branch: master
commit b22dffbc2869503f553931ad28a567cbf1507409
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Fix Gnus display of timestamps that's less than a second old
* lisp/gnus/gnus-art.el (article-lapsed-string): The elapsed
seconds may be a fractional second. In that case, just say "now".
---
lisp/gnus/gnus-art.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index af8ec68..930b0a0 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -3628,7 +3628,7 @@ possible values."
(unless max-segments
(setq max-segments (length article-time-units)))
(cond
- ((zerop sec)
+ ((< (abs sec) 1)
"Now")
(t
(concat
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master b22dffb: Fix Gnus display of timestamps that's less than a second old,
Lars Ingebrigtsen <=