forked from Shinonome/dots-hyprland
Use wrapper functions in DateTime to format
This commit is contained in:
@@ -76,7 +76,7 @@ Singleton {
|
|||||||
temp.temp += "°C";
|
temp.temp += "°C";
|
||||||
temp.tempFeelsLike += "°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;
|
root.data = temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user