NSDate/NSCalendarDate/NSTimezone..
NSDate/NSCalendarDate/NSTimezone..
- Subject: NSDate/NSCalendarDate/NSTimezone..
- From: arri <email@hidden>
- Date: Tue, 20 Mar 2007 01:15:56 +0100
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