> On May 15, 2017, at 8:50 AM, Eric E. Dolecki <[email protected]> wrote:
> 
> Thanks for your reply. Does this look safe to use?
> 
> // London
> let locale = TimeZone.init(abbreviation: "BST")
> 

Use "Europe/London":

1. BST has at least 3 different meanings
2. You'll automatically get support for daylight savings (summertime)
3. More readable in code


Andrew


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to