From 60eda8e4ec43f57a1ff39f8cc352f124939d2d37 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 10 Jul 2017 10:56:05 +0200 Subject: [PATCH] org-clock: Fix :tstart :tend parsing with time zones * lisp/org-clock (org-clocktable-steps): Fix :tstart :tend parsing with time zones. The regression was introduced in 112c5ba479d52c3c36de5c7aafd14ab6bc075005. Reported-by: Dale Sedivec --- lisp/org-clock.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/org-clock.el b/lisp/org-clock.el index cb6a6c9ad..7c1c6c24e 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -2701,8 +2701,7 @@ LEVEL is an integer. Indent by two spaces per level above 1." (pcase-let ((`(,month ,day ,year) (calendar-gregorian-from-absolute ts))) (setq ts (float-time (encode-time 0 0 0 day month year))))) (ts - (setq ts (float-time - (apply #'encode-time (org-parse-time-string ts nil t)))))) + (setq ts (float-time (apply #'encode-time (org-parse-time-string ts)))))) (cond ((numberp te) ;; Likewise for te.