summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rt-liberation-report.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/rt-liberation-report.el b/rt-liberation-report.el
index 203ae8a..d6f8182 100644
--- a/rt-liberation-report.el
+++ b/rt-liberation-report.el
@@ -66,6 +66,10 @@ return `nil'."
(error "no tickets in interval"))
(let ((l (copy-tree interval))
(r nil))
+
+ ;; the solution is to first convert to seconds, then sort, then
+ ;; finally convert to YYYY-MM-DD format
+
(while l
(setq r (append r `(,(rt-liber-report-scan-ticket (car l)))))
(setq l (cdr l)))