summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles A. Roelli <charles@aurox.ch>2017-11-08 20:51:48 +0100
committerCharles A. Roelli <charles@aurox.ch>2017-11-08 20:51:48 +0100
commit98288ecaffbc0947ec3193088172ea85ad5e42a5 (patch)
treedc72cf9358c4c560a7c078508c49f0abb30bdbc3
parenta215be999454b8f0118141d4e4f6cf58298f79e0 (diff)
downloademacs-98288ecaffbc0947ec3193088172ea85ad5e42a5.tar.gz
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.")
"10\\.6\\.[[:digit:]]"
(shell-command-to-string
"sw_vers -productVersion"))
- (<= m -1034058203136))
+ (<= m -1034058203135))
(ignore-errors (decode-time (list m 0)))))))
(low
(funcall dichotomy