summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2025-12-04 07:26:04 -0500
committerSacha Chua <sacha@sachachua.com>2025-12-04 07:26:04 -0500
commitbe88092b6803645b8299b1bf195cf39995d7f114 (patch)
treeaa7305d268ea1433c552472fbf5fdea62546bc10
parentc64af131bdfab4748abe51d9e75de89f21c9e1eb (diff)
downloademacsconf-el-be88092b6803645b8299b1bf195cf39995d7f114.tar.xz
emacsconf-el-be88092b6803645b8299b1bf195cf39995d7f114.zip
Correctly calculate difference
-rw-r--r--emacsconf.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacsconf.el b/emacsconf.el
index 3e52257..3e9bdbd 100644
--- a/emacsconf.el
+++ b/emacsconf.el
@@ -2161,7 +2161,7 @@ With a prefix argument (\\[universal-argument]), open this year's notebook."
(emailed (org-timestamp-to-time (org-timestamp-split-range
(org-timestamp-from-string
(format "<%s>" (plist-get talk :emailed-schedule)))))))
- (round (/ (float-time (time-subtract emailed start)) 60.0))))
+ (round (/ (float-time (time-subtract start emailed)) 60.0))))
(provide 'emacsconf)
;;; emacsconf.el ends here