diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2017-09-03 01:27:23 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2017-09-08 21:08:53 +0200 |
commit | 90fe21af88b7191a7f3a979040ec07c3ed03960b (patch) | |
tree | 43e1549d7640a3e8d15e0104031178973faef0e7 /src/llist.c | |
parent | 3095bf42141723ebbfacb047aaa90c5b1b433420 (diff) | |
download | calcurse-90fe21af88b7191a7f3a979040ec07c3ed03960b.tar.gz calcurse-90fe21af88b7191a7f3a979040ec07c3ed03960b.zip |
Fix phase of moon calculation
The reported phase was often one day early because calculations were
based on midnight. For full and new moon this is changed to noon. For
first and last quarter a direct check of the appearance of the half moon
during the selected day is performed.
Comments are relocated and expanded.
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/llist.c')
0 files changed, 0 insertions, 0 deletions