• 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
Help with Dates and custom format strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with Dates and custom format strings


  • Subject: Help with Dates and custom format strings
  • From: Joseph Jones <email@hidden>
  • Date: Thu, 22 May 2003 09:47:58 -0700

I seem to be having a problem with getting localized date info if I use a date format other than the system short or long formats. Specifically, if I set my date format to @"%b" (short month), set my date to May 1st, 2003, set my system date locale to Switzerland(German) and call [date descriptionWithFormat:@"%b"] I should get back @"Mai". Instead, I get back @"May". I'm not sure what I am doing wrong here since the descriptionWithFormat method on date is supposed to use the default date locale settings (according to the docs).

Can anyone clue me in on why I'm not getting the localized names for months, days, etc.??

Thanx,
joe
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: threads and sig10/11
  • Next by Date: Possible bug with NSDateFormatter??
  • Previous by thread: Re: Charting solutions
  • Next by thread: Possible bug with NSDateFormatter??
  • Index(es):
    • Date
    • Thread