• 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
NSDate/NSCalendarDate/NSTimezone..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSDate/NSCalendarDate/NSTimezone..
      • From: arri <email@hidden>
References: 
 >10.4.9 stangeness? (From: Scott Andrew <email@hidden>)

  • Prev by Date: Re: Detecting currently active NSColorWell(s)?
  • Next by Date: Re: Parsing "Set-Cookie" HTTP Response
  • Previous by thread: 10.4.9 stangeness?
  • Next by thread: Re: NSDate/NSCalendarDate/NSTimezone..
  • Index(es):
    • Date
    • Thread