• 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
NSCalendarDate localized month string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSCalendarDate localized month string


  • Subject: NSCalendarDate localized month string
  • From: Michael Emfinger <email@hidden>
  • Date: Tue, 04 Dec 2001 10:46:49 -0800

Hello,

I'm obtaining a month name and year for display by using the following
NSTextField assignment from an NSCalendarDate...

[monthName setStringValue:[firstOfMonth
descriptionWithCalendarFormat:@"%B&Y"]];

My problem is that when this is displayed under non-English systems the
month name is always English. In other windows I simply display an
NSCalendarDate and it IS localized accocordingly, but it seems when getting
the month/year specifically I'm omitting something.

Any ideas?

Thanks in advance,
Michael


  • Prev by Date: Re: Cursor over links in NSTextView
  • Next by Date: Re: Getting access to the Desktop view?
  • Previous by thread: Re: Getting access to the Desktop view?
  • Next by thread: Frameworks Inside Applications
  • Index(es):
    • Date
    • Thread