From 000c356e588789e75bd065308db6b1656e26fe08 Mon Sep 17 00:00:00 2001 From: Yoni Rabkin Date: Fri, 5 Mar 2021 11:36:03 -0500 Subject: * 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 -- cgit v1.2.3