views/month: Use en dash

Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1107
This commit is contained in:
Georges Basile Stavracas Neto
2023-09-22 11:45:47 -03:00
parent b0fb477b08
commit a7f798a815
+2 -2
View File
@@ -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));
}