fix: between -1d should be compared to t/now instead of t/today

This commit is contained in:
Tienson Qin
2024-11-01 22:14:09 +08:00
parent c97a51e85a
commit 3562b9e756

View File

@@ -112,7 +112,7 @@
"h" t/hours
"n" t/minutes ; min
t/days)]
(tc/to-long (t/plus (t/today) (tf duration)))))))
(tc/to-long (t/plus (t/now) (tf duration)))))))
;; Boolean operator utils: and, or, not
;; ======================