mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 23:08:40 +02:00
Use 6-degree definition (Civil Dawn) instead of older 14-degree below horizon.
This commit is contained in:
@@ -1897,7 +1897,7 @@ static int SunStuff(int rise, double cosz, int jul)
|
|||||||
if (dusk_or_dawn == 2) {/* dusk */
|
if (dusk_or_dawn == 2) {/* dusk */
|
||||||
L += 6;
|
L += 6;
|
||||||
} else if (dusk_or_dawn == 3) {/* dawn */
|
} else if (dusk_or_dawn == 3) {/* dawn */
|
||||||
L -= 14;
|
L -= 6;
|
||||||
}
|
}
|
||||||
if (L > 360.0) L -= 360.0;
|
if (L > 360.0) L -= 360.0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user