From 963eb7493c9341a11ffa6e55d8f329cb849abf17 Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Sat, 10 Feb 2024 13:30:51 +0300 Subject: [PATCH] Use time-subtract instead of time-since for clarity --- org-journal.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org-journal.el b/org-journal.el index 94feaa7..2598f3a 100644 --- a/org-journal.el +++ b/org-journal.el @@ -1267,7 +1267,8 @@ If NO-SELECT is non-nil, open it, but don't show it." "Open the current journal file" (interactive) (let ((org-journal-file (org-journal--get-entry-path - (time-since (* 3600 org-extend-today-until))))) + (time-subtract (current-time) + (* 3600 org-extend-today-until))))) (if (file-exists-p org-journal-file) (progn (funcall org-journal-find-file org-journal-file)