[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/rt-liberation 000c356 3/8: * rt-liberation.el: bug fix
From: |
Yoni Rabkin |
Subject: |
[elpa] externals/rt-liberation 000c356 3/8: * rt-liberation.el: bug fix |
Date: |
Fri, 5 Mar 2021 14:30:32 -0500 (EST) |
branch: externals/rt-liberation
commit 000c356e588789e75bd065308db6b1656e26fe08
Author: Yoni Rabkin <yoni@rabkins.net>
Commit: Yoni Rabkin <yoni@rabkins.net>
* rt-liberation.el: bug fix
Fix "comb" effect with the dates.
---
rt-liberation.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rt-liberation.el b/rt-liberation.el
index a2b116a..04d9965 100644
--- a/rt-liberation.el
+++ b/rt-liberation.el
@@ -1263,12 +1263,12 @@ ASSOC-BROWSER if non-nil should be a ticket browser."
((< 0 days-ago 7)
(format "%s day%s ago" days-ago
(rt-liber-viewer2-vernacular-plural days-ago)))
- ((< 7 days-ago 30)
+ ((<= 7 days-ago 30)
(let ((weeks (floor (/ days-ago 7.0))))
(format "%s week%s ago"
weeks
(rt-liber-viewer2-vernacular-plural weeks))))
- ((< 30 days-ago 365)
+ ((<= 30 days-ago 365)
(let ((months (floor (/ days-ago 30.0))))
(format "%s month%s ago"
months
- [elpa] externals/rt-liberation updated (45d1798 -> c81f084), Yoni Rabkin, 2021/03/05
- [elpa] externals/rt-liberation abf4625 4/8: * rt-liberation-compiler.el: split out compiler code, Yoni Rabkin, 2021/03/05
- [elpa] externals/rt-liberation 78b9cfb 2/8: * doc/developer-release.txt:, Yoni Rabkin, 2021/03/05
- [elpa] externals/rt-liberation 000c356 3/8: * rt-liberation.el: bug fix,
Yoni Rabkin <=
- [elpa] externals/rt-liberation cfc0a7c 7/8: * NEWS: give the people the news, Yoni Rabkin, 2021/03/05
- [elpa] externals/rt-liberation c81f084 8/8: Merge branch 'master' into externals/rt-liberation, Yoni Rabkin, 2021/03/05
- [elpa] externals/rt-liberation 635951b 6/8: * rt-liberation.el: version bump, Yoni Rabkin, 2021/03/05
- [elpa] externals/rt-liberation 9a41670 5/8: * rt-liberation-rest.el: split code to here, Yoni Rabkin, 2021/03/05
- [elpa] externals/rt-liberation 6e16bf2 1/8: * doc/developer-release.txt:, Yoni Rabkin, 2021/03/05