On Wed, 6 Jul 2011 18:46:54 -0700, Trygve Inda said:
I have worked around it of course, but there is no logical reason for the
date/time controls to not configure themselves based on the locale.
Usually, but not always. In some cases, one might want a date picker to always
use ISO 8601,
On 6 Jul 2011, at 12:16 AM, Trygve Inda wrote:
It seems that NSDateFormatters instantiated in my nibs get their zone set to
PDT (because of my time settings), despite having called
[NSTimeZone setDefaultTimeZone:[NSTimeZone
timeZoneWithAbbreviation:@GMT]];
Before any nibs are loaded.
On Wed, Jul 6, 2011 at 7:11 AM, Fritz Anderson fri...@manoverboard.org wrote:
On 6 Jul 2011, at 12:16 AM, Trygve Inda wrote:
It seems that NSDateFormatters instantiated in my nibs get their zone set to
PDT (because of my time settings), despite having called
[NSTimeZone
This conversation started about NSDatePicker. Now you are referring to
NSDateFormatter. Which one are you dealing with? My test shows that a nib
instantiated NSDatePicker has a nil timeZone value.
-raleigh
On Jul 6, 2011, at 8:05 AM, Kyle Sluder wrote:
On Wed, Jul 6, 2011 at 7:11 AM, Fritz
On Wed, Jul 6, 2011 at 7:11 AM, Fritz Anderson fri...@manoverboard.org
wrote:
On 6 Jul 2011, at 12:16 AM, Trygve Inda wrote:
It seems that NSDateFormatters instantiated in my nibs get their zone set to
PDT (because of my time settings), despite having called
[NSTimeZone
In my app I have:
[NSTimeZone setDefaultTimeZone:[NSTimeZone
timeZoneWithAbbreviation:@GMT]];// So that when we decode NSDate
objects, we get the h/m/s as GMT
I also have an NSDatePicker set to only show the hh:mm
My system clock is set to US West Coast Time and US format.
When I
Trygve,
That should work. I suspect that you are setting the timeZone of the
NSDatePicker as well. There is a bug, where is you set the NSDatePicker
timeZone but do not set the calendar, then you will run into this problem.
(Same thing with NSDatePicker locale.)
So, either don't adjust the
Trygve,
That should work. I suspect that you are setting the timeZone of the
NSDatePicker as well. There is a bug, where is you set the NSDatePicker
timeZone but do not set the calendar, then you will run into this problem.
(Same thing with NSDatePicker locale.)
So, either don't adjust