Rebased waked patch taken from here: https://gitlab.gnome.org/GNOME/gnome-clocks/-/merge_requests/313