It’s pretty easy to access what time zones the system is aware of by accessing TimeZone.knownTimeZoneIdentifiers
.
It would probably be more useful if it was an array of TimeZone
values, since these have identifier
as a property but can also be used in a DateFormatter
. The initialiser for TimeZone
that takes an identifi…
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.