Use wrapper functions in DateTime to format

This commit is contained in:
Greyfeather
2026-01-03 22:05:02 -07:00
parent 7197f9ddfb
commit 14c930d48c
@@ -76,7 +76,7 @@ Singleton {
temp.temp += "°C";
temp.tempFeelsLike += "°C";
}
temp.lastRefresh = Qt.locale().toString(new Date(), (Config.options?.time.format ?? "hh:mm") + " - " + (Config.options?.time.dateWithYearFormat ?? "dd/MM/yyyy"));
temp.lastRefresh = DateTime.time + " " + DateTime.date;
root.data = temp;
}