From b29cf4e517143a549aa32646f4dc73c9bd344045 Mon Sep 17 00:00:00 2001 From: Zelda Ahmed Date: Mon, 29 Jun 2026 16:22:57 +0100 Subject: [PATCH] core/event: Use en-dash instead of em-dash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit En-dashes "–" should be used instead of the longer em-dashes "—", since the dash was used to represent a range of dates, which means the correct dash to use is the en-dash Part-of: --- src/core/gcal-event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/gcal-event.c b/src/core/gcal-event.c index 0a226ef5..df240ee8 100644 --- a/src/core/gcal-event.c +++ b/src/core/gcal-event.c @@ -1934,7 +1934,7 @@ gcal_event_format_date (GcalEvent *self) if (is_all_day) { /* Translators: %1$s is the start date and %2$s is the end date. */ - formatted_string = g_strdup_printf (_("%1$s — %2$s"), start_date, end_date); + formatted_string = g_strdup_printf (_("%1$s – %2$s"), start_date, end_date); } else { @@ -1942,7 +1942,7 @@ gcal_event_format_date (GcalEvent *self) * Translators: %1$s is the start date, %2$s is the start time, * %3$s is the end date, and %4$s is the end time. */ - formatted_string = g_strdup_printf (_("%1$s %2$s — %3$s %4$s"), + formatted_string = g_strdup_printf (_("%1$s %2$s – %3$s %4$s"), start_date, start_time, end_date,