mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-06 07:19:27 -05:00
Use wrapper functions in DateTime to format
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user