Re: NSDate/NSCalendarDate/NSTimezone..
Re: NSDate/NSCalendarDate/NSTimezone..
- Subject: Re: NSDate/NSCalendarDate/NSTimezone..
- From: arri <email@hidden>
- Date: Tue, 20 Mar 2007 03:59:28 +0100
since there was no respons so far,
i guess everyone just knew i was making a stupid mistake.
the original dates i was dealing with didn't actually have a zone set,
so probably therefore treated as GMT dates. (?)
thanks for ignoring this one.. :)
On Mar 20, 2007, at 01:15 56, arri wrote:
i'm a bit lost over what seemed so simple:
i created a NAValueTransformer simplified Date display,
but no matter what i try, it will always add the timezone offset,
so that the actual display shows GMT time, instead of local..
- (id)transformedValue:(id)value {
if(value==nil)
return nil;
NSString *dateD = [value descriptionWithCalendarFormat:@"%d %b '%y
%H:%M:%S" timeZone:nil locale:nil];
return dateD;
}
this must be super-basic, but i don't see it anymore..
any help is much appreciated..
gr
arri
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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