aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui-day.c
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2017-09-03 01:27:23 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2017-09-08 21:08:53 +0200
commit90fe21af88b7191a7f3a979040ec07c3ed03960b (patch)
tree43e1549d7640a3e8d15e0104031178973faef0e7 /src/ui-day.c
parent3095bf42141723ebbfacb047aaa90c5b1b433420 (diff)
downloadcalcurse-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/ui-day.c')
0 files changed, 0 insertions, 0 deletions