Browse Source

Adding timezone identifier for better search.

pull/92/head
Abhishek 5 years ago
parent
commit
3fab0f8279
  1. 5
      Clocker/Preferences/General/PreferencesViewController.swift

5
Clocker/Preferences/General/PreferencesViewController.swift

@ -844,7 +844,10 @@ extension PreferencesViewController {
}
let timezoneIdentifier = NSTimeZone(name: timezone)!
let timezoneMetadata = TimezoneMetadata(timezone: timezoneIdentifier, tags: tags, formattedName: timezone)
let formattedName = timezone + " (\(abbreviation))"
let timezoneMetadata = TimezoneMetadata(timezone: timezoneIdentifier,
tags: tags,
formattedName: formattedName)
timezoneArray.append(timezoneMetadata)
}

Loading…
Cancel
Save