Re: Times in other cities
Re: Times in other cities
- Subject: Re: Times in other cities
- From: "Eric E. Dolecki" <email@hidden>
- Date: Mon, 15 May 2017 13:38:06 +0000
Got it - I understand now. And I kindly thank you for the clarification.
On Mon, May 15, 2017 at 9:31 AM Andrew Thompson <email@hidden> wrote:
> 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@hidden> wrote:
>
> Europe/London = BST though, correct?
>
>
>
>
>
> On Mon, May 15, 2017 at 9:06 AM Andrew Thompson <email@hidden> wrote:
>
>>
>>
>> > On May 15, 2017, at 8:50 AM, Eric E. Dolecki <email@hidden>
>> 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@hidden)
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:
This email sent to email@hidden