💥 fix(notifications): use correct GLib.DateTime function for local time instead of utc

This commit is contained in:
retrozinndev
2025-04-13 00:12:23 -03:00
parent efb483e1c9
commit 9f9295314d
+1 -1
View File
@@ -76,7 +76,7 @@ export function NotificationWidget(notification: AstalNotifd.Notification|number
xalign: 1, xalign: 1,
visible: !showTime ? false : true, visible: !showTime ? false : true,
className: "time", className: "time",
label: GLib.DateTime.new_from_unix_utc(notification.time).format("%H:%M"), label: GLib.DateTime.new_from_unix_local(notification.time).format("%H:%M"),
} as Widget.LabelProps), } as Widget.LabelProps),
new Widget.Button({ new Widget.Button({
className: "close nf", className: "close nf",