The following code
package main
import (
"astrotime"
"fmt"
"time"
)
const LATITUDE = float64(51.1387)
const LONGITUDE = float64(7.2997)
func main() {
t := astrotime.NextSunrise(time.Now(), LATITUDE, LONGITUDE)
tzname, _ := t.Zone()
fmt.Printf("The next sunrise at Huckeswagen is %d:%02d %s on %d/%d/%d.\n", t.Hour(), t.Minute(), tzname, t.Month(), t.Day(), t.Year())
}
displays the incorrect time. The time is displayed too late by one hour.
For example: Output: 7:57 CEST, correctly would 6:57 CEST.
Whats wrong?