• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Times in other cities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Times in other cities


  • Subject: Re: Times in other cities
  • From: Andrew Thompson <email@hidden>
  • Date: Mon, 15 May 2017 09:31:40 -0400

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

  • Follow-Ups:
    • Re: Times in other cities
      • From: "Eric E. Dolecki" <email@hidden>
References: 
 >Times in other cities (From: Eric Dolecki <email@hidden>)
 >Re: Times in other cities (From: Jens Alfke <email@hidden>)
 >Re: Times in other cities (From: "Eric E. Dolecki" <email@hidden>)
 >Re: Times in other cities (From: Andrew Thompson <email@hidden>)
 >Re: Times in other cities (From: "Eric E. Dolecki" <email@hidden>)

  • Prev by Date: Re: Times in other cities
  • Next by Date: Re: Times in other cities
  • Previous by thread: Re: Times in other cities
  • Next by thread: Re: Times in other cities
  • Index(es):
    • Date
    • Thread