]> git.eshelyaron.com Git - emacs.git/commit
Fix sunrise and sunset calculation (bug#44237)
authorMattias Engdegård <mattiase@acm.org>
Mon, 26 Oct 2020 17:44:05 +0000 (18:44 +0100)
committerMattias Engdegård <mattiase@acm.org>
Tue, 27 Oct 2020 11:33:51 +0000 (12:33 +0100)
commitcde72637dfd6989081ed8b2f26e7187c309780b8
tree1784cc7c3cb1edacd353276fbe1bf422d0b71a2c
parentf971a612a92eea4c8aab6b002d7998bb0b6f5ca1
Fix sunrise and sunset calculation (bug#44237)

* lisp/calendar/solar.el (solar-moment): Use initial values for binary
search that won't end the loop prematurely and yield incorrect
answers.
* test/lisp/calendar/solar-tests.el: New file.
lisp/calendar/solar.el
test/lisp/calendar/solar-tests.el [new file with mode: 0644]