fix local solar time conversion, publish releases
Release / release (push) Failing after 9s

This commit is contained in:
2026-09-04 09:41:02 +02:00
parent 7a2c7bdb27
commit 2f3fca4872
3 changed files with 36 additions and 1 deletions
+1 -1
View File
@@ -343,7 +343,7 @@ export class Timer extends GObject.Object {
// Calculations from https://www.esrl.noaa.gov/gmd/grad/solcalc/calcdetails.html
const dtNow = GLib.DateTime.new_now_local();
const dtZero = GLib.DateTime.new_utc(1900, 1, 1, 0, 0, 0);
const dtZero = GLib.DateTime.new_local(1900, 1, 1, 0, 0, 0);
const timeSpan = dtNow.difference(dtZero);