Fix GNOME Calendar date handoff
This commit is contained in:
@@ -169,7 +169,9 @@ Singleton {
|
||||
|
||||
function openCalendar(date: date): void {
|
||||
const target = date && !Number.isNaN(date.getTime()) ? date : root.selectedDate;
|
||||
Quickshell.execDetached(["gnome-calendar", "--date", root.dateKey(target)]);
|
||||
// GNOME Calendar passes this value to g_date_time_new_from_iso8601(),
|
||||
// which requires a time and timezone rather than a bare YYYY-MM-DD.
|
||||
Quickshell.execDetached(["gnome-calendar", "--date", target.toISOString()]);
|
||||
}
|
||||
|
||||
function join(event: var): void {
|
||||
|
||||
Reference in New Issue
Block a user