branch: externals/dtache
commit f77c57f60844a707663df0a7d0f9e226ce59e3b8
Author: Niklas Eklund <[email protected]>
Commit: Niklas Eklund <[email protected]>
Update duration part 2
---
dtache.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dtache.el b/dtache.el
index a2e0f025b3..0d63aa3901 100644
--- a/dtache.el
+++ b/dtache.el
@@ -1103,7 +1103,7 @@ the current time is used."
"Return SESSION's duration time."
(let* ((time
(round (if (eq 'active (dtache--session-state session))
- (- (time-to-seconds) (dtache--session-creation-time
session))
+ (dtache--determine-duration session)
(dtache--session-duration session))))
(hours (/ time 3600))
(minutes (/ (mod time 3600) 60))