• 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
Re: NSDateFormatter refuses to format dates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDateFormatter refuses to format dates


  • Subject: Re: NSDateFormatter refuses to format dates
  • From: Fritz Anderson <email@hidden>
  • Date: Tue, 27 Sep 2011 09:39:15 -0500

On 27 Sep 2011, at 3:41 AM, Gerriet M. Denkmann wrote:

> 	[ dateFormatter setGeneratesCalendarDates: YES ];
...
> 	NSLog(@" now \"%@\"", [dateFormatter stringFromDate: [NSDate date]]);

NSCalendarDate is really most sincerely deprecated, and you're feeding the formatter an NSDate, not an NSCalendarDate. What happens if you set this to NO (or don't set it at all)?

In general, what happens if you temporarily remove the locale and time zone settings?

	— F

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: NSDateFormatter refuses to format dates
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >NSDateFormatter refuses to format dates (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Questions about -orderFrontTablePanel:
  • Next by Date: Re: controller question
  • Previous by thread: NSDateFormatter refuses to format dates
  • Next by thread: Re: NSDateFormatter refuses to format dates
  • Index(es):
    • Date
    • Thread