aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles A. Roelli2017-11-08 20:51:48 +0100
committerCharles A. Roelli2017-11-08 20:51:48 +0100
commit98288ecaffbc0947ec3193088172ea85ad5e42a5 (patch)
treedc72cf9358c4c560a7c078508c49f0abb30bdbc3
parenta215be999454b8f0118141d4e4f6cf58298f79e0 (diff)
downloademacs-98288ecaffbc0947ec3193088172ea85ad5e42a5.tar.gz
emacs-98288ecaffbc0947ec3193088172ea85ad5e42a5.zip
Further workaround for faulty localtime() under macOS 10.6
* lisp/org/org-clock.el (org-clock--oldest-date): Fix an issue when compiling on macOS 10.6 with a western time zone (a continuation of Bug#27736). In particular, see: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27736#74 and the first commit that attempted to work around this problem, "Workaround for faulty localtime() under macOS 10.6", bd49b6f1 of 2017-09-30.
-rw-r--r--lisp/org/org-clock.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org/org-clock.el b/lisp/org/org-clock.el
index 9dc501500b1..69e199ea27f 100644
--- a/lisp/org/org-clock.el
+++ b/lisp/org/org-clock.el
@@ -487,7 +487,7 @@ to add an effort property.")
487 "10\\.6\\.[[:digit:]]" 487 "10\\.6\\.[[:digit:]]"
488 (shell-command-to-string 488 (shell-command-to-string
489 "sw_vers -productVersion")) 489 "sw_vers -productVersion"))
490 (<= m -1034058203136)) 490 (<= m -1034058203135))
491 (ignore-errors (decode-time (list m 0))))))) 491 (ignore-errors (decode-time (list m 0)))))))
492 (low 492 (low
493 (funcall dichotomy 493 (funcall dichotomy