Forráskód Böngészése

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 <dale@codefu.org>
Nicolas Goaziou 7 éve
szülő
commit
60eda8e4ec
1 módosított fájl, 1 hozzáadás és 2 törlés
  1. 1 2
      lisp/org-clock.el

+ 1 - 2
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.