From 77d41263c46cb560bb7df23d204996115ff88fce Mon Sep 17 00:00:00 2001 From: Abhishek Banthia <8280282+n0shake@users.noreply.github.com> Date: Wed, 13 Apr 2022 15:11:38 -0400 Subject: [PATCH] Trim the starts part. --- Clocker/Events and Reminders/CalendarHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Clocker/Events and Reminders/CalendarHandler.swift b/Clocker/Events and Reminders/CalendarHandler.swift index 98d0d6b..59df4ce 100644 --- a/Clocker/Events and Reminders/CalendarHandler.swift +++ b/Clocker/Events and Reminders/CalendarHandler.swift @@ -498,7 +498,7 @@ struct EventInfo { let withoutAgo = withoutAn.replacingOccurrences(of: "ago", with: CLEmptyString) // If the user has not turned on seconds granularity for one of the timezones, // we return "in 12 seconds" which looks weird. - return withoutAgo.contains("seconds") ? "starts in <1m" : "in \(withoutAgo.lowercased())" + return withoutAgo.contains("seconds") ? "in <1m" : "in \(withoutAgo.lowercased())" } else if event.startDate.isTomorrow { let hoursUntil = event.startDate.hoursUntil return "in \(hoursUntil)h"