commit 696a49ad7f742d17da5a5e9700f23d08246265ab
parent bee9503e23e460826cb510845b6ea64bdf5a3c0d
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 6 Nov 2021 12:12:39 +0100
fix #7046
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/anastasis/anastasis-gtk_attributes.c b/src/anastasis/anastasis-gtk_attributes.c
@@ -61,7 +61,7 @@ extract_cal (GtkWidget *cal)
sizeof (txt),
"%04u-%02u-%02u",
(unsigned int) year,
- (unsigned int) month,
+ (unsigned int) month + 1,
(unsigned int) day);
return json_string (txt);
}
@@ -210,7 +210,7 @@ import_cal (GtkWidget *w,
gtk_calendar_select_day (GTK_CALENDAR (w),
day);
gtk_calendar_select_month (GTK_CALENDAR (w),
- month,
+ month - 1,
year);
}