]> git.eshelyaron.com Git - emacs.git/commitdiff
Further workaround for faulty localtime() under macOS 10.6
authorCharles A. Roelli <charles@aurox.ch>
Wed, 8 Nov 2017 19:51:48 +0000 (20:51 +0100)
committerCharles A. Roelli <charles@aurox.ch>
Wed, 8 Nov 2017 19:51:48 +0000 (20:51 +0100)
* 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.

lisp/org/org-clock.el

index 9dc501500b158d526cb2398d292f7d208de3c146..69e199ea27ff3375f31e743621d3c5bbda87f490 100644 (file)
@@ -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