From 9a1048ae642947f53ca2d3928a3a626b4de0fcb5 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Fri, 9 Oct 2020 17:45:30 -0500 Subject: [PATCH] Add UTC! --- Clocker/Preferences/General/SearchDataSource.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Clocker/Preferences/General/SearchDataSource.swift b/Clocker/Preferences/General/SearchDataSource.swift index 629da41..406bea8 100644 --- a/Clocker/Preferences/General/SearchDataSource.swift +++ b/Clocker/Preferences/General/SearchDataSource.swift @@ -56,7 +56,13 @@ class SearchDataSource: NSObject { tags: ["aoe", "anywhere on earth"], formattedName: "Anywhere on Earth", abbreviation: "AOE") + let utcTimezone = TimezoneMetadata(timezone: NSTimeZone(abbreviation: "GMT")!, + tags: ["utc", "gmt", "universal"], + formattedName: "UTC", + abbreviation: "GMT") + timezoneArray.append(anywhereOnEarth) + timezoneArray.append(utcTimezone) for identifier in TimeZone.knownTimeZoneIdentifiers { guard let timezoneObject = TimeZone(identifier: identifier) else {