mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 23:08:40 +02:00
Fix logic bug in astro.
This commit is contained in:
@@ -33,7 +33,7 @@ EOF
|
|||||||
remind -g "-i\$Latitude=\"$latitude\"" "-i\$Longitude=\"$longitude\"" -q -@2 - "$@" <<'EOF'
|
remind -g "-i\$Latitude=\"$latitude\"" "-i\$Longitude=\"$longitude\"" -q -@2 - "$@" <<'EOF'
|
||||||
SET $AddBlankLines 0
|
SET $AddBlankLines 0
|
||||||
FSET angle_to_direction(x) \
|
FSET angle_to_direction(x) \
|
||||||
IIF(x > 348 && x <= 11, "North", \
|
IIF(x > 348 || x <= 11, "North", \
|
||||||
x > 11 && x <= 34, "North North-East", \
|
x > 11 && x <= 34, "North North-East", \
|
||||||
x > 34 && x <= 56, "North-East", \
|
x > 34 && x <= 56, "North-East", \
|
||||||
x > 56 && x <= 79, "East North-East", \
|
x > 56 && x <= 79, "East North-East", \
|
||||||
|
|||||||
Reference in New Issue
Block a user