diff options
author | Yoni Rabkin <yoni@rabkins.net> | 2021-03-05 11:36:03 -0500 |
---|---|---|
committer | Yoni Rabkin <yoni@rabkins.net> | 2021-03-05 11:36:03 -0500 |
commit | 000c356e588789e75bd065308db6b1656e26fe08 (patch) | |
tree | 81db12299b845c1fa909f5b0727df59c003b4e14 | |
parent | 78b9cfbb3bdde5c589904e987304f8726c841992 (diff) |
* rt-liberation.el: bug fix
Fix "comb" effect with the dates.
-rw-r--r-- | rt-liberation.el | 4 |
1 files 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 |