BST is British Summer Time, but also Bering Standard Time (UTC-11). Do you want to risk getting the wrong one?
The UK observes daylight savings time, which being in Boston you no doubt understand means half the year the name of the time zone changes. In Boston Eastern time switches from EST to EDT and in London it's GMT to BST. Most likely the libraries will do something reasonable if you ask for daylight savings time in the dead of winter, but why risk it? If you want wall clock time in London as someone would see it if they were sitting there, just ask for Europe/London. Safer. Andrew. > On May 15, 2017, at 9:17 AM, Eric E. Dolecki <[email protected]> wrote: > > Europe/London = BST though, correct? > > > > > >> On Mon, May 15, 2017 at 9:06 AM Andrew Thompson <[email protected]> wrote: >> >> >> > 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]
