Re: Fix, NSTimeZone Abbreviations

2004-10-07 Thread Alex Perez
On Thu, 7 Oct 2004, Pete French wrote: > > The list is right. BST is not a time zone, it is a mode of time. You said > > it yourself, it's GMT+1 for the duration of the year that summer time is > > in effect. This needs to be handled separately. When I set my time zone in > > windows or OS X, I

Re: Fix, NSTimeZone Abbreviations

2004-10-07 Thread Pete French
> The list is right. BST is not a time zone, it is a mode of time. You said > it yourself, it's GMT+1 for the duration of the year that summer time is > in effect. This needs to be handled separately. When I set my time zone in > windows or OS X, I choose "Pacific (GMT -8:00)" and there is *ONE*

Re: Fix, NSTimeZone Abbreviations

2004-10-06 Thread Alex Perez
On Wed, 6 Oct 2004, Pete French wrote: > > Here are the lists used on OpenStep and Apple. There is only a minor > > difference between them (Apple added UTC and removed HDT). > > That list cant be right - it's missing BST (British Summer Time = GMT+1) for > starters. But if I print [NSTimeZone

Re: Fix, NSTimeZone Abbreviations

2004-10-06 Thread Pete French
> That's what I got returned on Mac OS-X and OpenStep by > [NSTimeZone abbreviationDictionary] Interesting - so it is actually using abbreviations internally that it is not returning in that dictionary then ? I just tried it and I get the same as you - yet asking for [[NSTimeZone localTimeZone] ab

Re: Fix, NSTimeZone Abbreviations

2004-10-06 Thread Georg Fleischmann
> That list cant be right - it's missing BST (British Summer Time = GMT+1) for > starters. But if I print [NSTimeZone localTimeZone] on the Mac in front of > me then it tells me that it is in "BST", so preseuably OSX is quite happy > to take that ? That's what I got returned on Mac OS-X and OpenS

Re: Fix, NSTimeZone Abbreviations

2004-10-06 Thread Pete French
> Here are the lists used on OpenStep and Apple. There is only a minor > difference between them (Apple added UTC and removed HDT). That list cant be right - it's missing BST (British Summer Time = GMT+1) for starters. But if I print [NSTimeZone localTimeZone] on the Mac in front of me then it t

Fix, NSTimeZone Abbreviations

2004-10-05 Thread Georg Fleischmann
Hi, I realized that the list of time zone abbreviations coming with GNUstep is very long and all keys are used multiple times. The dictionary generated for mapping uses the first match from the file, which would map CET to Africa (which would map back to WET). This is wrong, of course. The