From 9dddc4db291023c0368df7bfb829beed7fc80b88 Mon Sep 17 00:00:00 2001 From: Evan Paterakis Date: Tue, 17 Dec 2024 11:31:43 +0200 Subject: [PATCH] fix(Schedule): month from iso to gtkcalendar --- src/Dialogs/Composer/Schedule.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dialogs/Composer/Schedule.vala b/src/Dialogs/Composer/Schedule.vala index 335c6672..e43983b5 100644 --- a/src/Dialogs/Composer/Schedule.vala +++ b/src/Dialogs/Composer/Schedule.vala @@ -32,7 +32,7 @@ public class Tuba.Dialogs.Schedule : Adw.Dialog { seconds_spin_button.value = (double) iso8601_datetime.get_second (); calendar.year = iso8601_datetime.get_year (); - calendar.day = iso8601_datetime.get_month (); + calendar.month = iso8601_datetime.get_month () - 1; calendar.day = iso8601_datetime.get_day_of_month (); }