diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-02-01 22:40:39 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-02-01 22:40:39 +0100 |
commit | 0790855c93533ce988f5b28839fdf0eca7521ad3 (patch) | |
tree | 49d6a4f58fc38d7793ea815c759e45edcde1dff9 | |
parent | b4cc12fc32a7713d97d9641777fb9c3983aac03a (diff) | |
download | org-mode-0790855c93533ce988f5b28839fdf0eca7521ad3.tar.gz |
org-clock: Fix remnant UTC time in clock computation
* lisp/org-clock.el (org-clock-get-sum-start): Remove wrong UTC
reference.
Reported-by: Jose Robins <jose.robins@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-02/msg00018.html>
-rw-r--r-- | lisp/org-clock.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el index f157df7..9e82db7 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -1423,7 +1423,7 @@ The time is always returned as UTC." (current-time)) ((equal cmt "today") (setq org--msg-extra "showing today's task time.") - (let* ((dt (org-decode-time nil t)) + (let* ((dt (decode-time)) (hour (nth 2 dt)) (day (nth 3 dt))) (if (< hour org-extend-today-until) (setf (nth 3 dt) (1- day))) |