sixths: gethour was not available, try this

pull/3550/head
Pavel Machek 2024-08-19 22:44:51 +02:00
parent a104f12f7e
commit 942ff4aaf8
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ let sun = {
get_sun_time: function() {
let d = new Date();
let sun = this.SunCalc.getTimes(d, this.lat, this.lon);
print(sun.sunrise, sun.sunrise.getHour());
print(sun.sunrise, sun.sunset);
return sun;
},
};