From a7f798a815f1e451092251e3ab905fdd3482a783 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Fri, 22 Sep 2023 11:44:28 -0300 Subject: [PATCH] views/month: Use en dash Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1107 --- src/gui/views/gcal-month-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/views/gcal-month-view.c b/src/gui/views/gcal-month-view.c index d1dc33c0..e501c584 100644 --- a/src/gui/views/gcal-month-view.c +++ b/src/gui/views/gcal-month-view.c @@ -206,7 +206,7 @@ update_header_labels (GcalMonthView *self) } else { - month_string = g_strdup_printf("%s - %s ", + month_string = g_strdup_printf("%s–%s", gcal_get_month_name (g_date_time_get_month (first_visible_date) -1), gcal_get_month_name (g_date_time_get_month (last_visible_date) - 1)); } @@ -217,7 +217,7 @@ update_header_labels (GcalMonthView *self) } else { - year_string = g_strdup_printf ("%d - %d", + year_string = g_strdup_printf ("%d–%d", g_date_time_get_year (first_visible_date), g_date_time_get_year (last_visible_date)); }