• 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
How to access stand-alone month name with NSDateFormatter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to access stand-alone month name with NSDateFormatter


  • Subject: How to access stand-alone month name with NSDateFormatter
  • From: Dary Mihova <email@hidden>
  • Date: Fri, 26 Aug 2005 19:34:48 +0100

I have a text field and I want to to show the current month name. It seems an easy task at first - attach a NSDateFormatter, set its dateFormat to "%B" or "MMMM" and you're done. But...

Some languages use two grammar forms of month names (Russian, Polish, Greek...). Latest ICU version (integrated in Tiger) supports this. For example Date & Time pref pane uses the stand-alone month name.

My question is does anyone know how to access the stand alone month name (if it's possible of course)? I read the recently updated docs for data formatting but couldn't find any info about this.

Thanks,
Dary

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to access stand-alone month name with NSDateFormatter
      • From: Chris Kane <email@hidden>
    • Re: How to access stand-alone month name with NSDateFormatter
      • From: Ryan Britton <email@hidden>
  • Prev by Date: HELP : <Tab> does not move focus to next text field.
  • Next by Date: NSTokenField
  • Previous by thread: HELP : <Tab> does not move focus to next text field.
  • Next by thread: Re: How to access stand-alone month name with NSDateFormatter
  • Index(es):
    • Date
    • Thread