2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 16:05:19 +00:00

95_Astro.pm: Bugfix nach Mitteilung von Wallyllama

git-svn-id: https://svn.fhem.de/fhem/trunk@29072 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
phenning 2024-08-16 13:53:58 +00:00
parent f45b2398d5
commit dfbb061485

View File

@ -1861,7 +1861,7 @@ sub SunRise($$$$$$$$){
}
}elsif ($zone<0) {
#rise time was yesterday local time -> calculate rise time for previous UTC day
if ($rise<-$zone || $transit<-zone || $set<-zone) {
if ($rise<-$zone || $transit<-$zone || $set<-zone) {
($transittemp,$risetemp,$settemp) = SunRise($JD-1, $deltaT, $lon, $lat, $zone, $horM, $horE, 1);
$transit = $transittemp
if ($transit<-$zone);