branch: externals/rt-liberation
commit 000c356e588789e75bd065308db6b1656e26fe08
Author: Yoni Rabkin <[email protected]>
Commit: Yoni Rabkin <[email protected]>
* 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