From 942ff4aaf892f03a2bf11c5ea016f9fd5420a1e2 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Mon, 19 Aug 2024 22:44:51 +0200 Subject: [PATCH] sixths: gethour was not available, try this --- apps/sixths/sixths.app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sixths/sixths.app.js b/apps/sixths/sixths.app.js index 8e716a5be..5740c9509 100644 --- a/apps/sixths/sixths.app.js +++ b/apps/sixths/sixths.app.js @@ -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; }, };