💥 fix(notifications): use correct GLib.DateTime function for local time instead of utc
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user