• 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: Localizing NSDateFormatter does not work with NSDateFormatterBehavior10_4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localizing NSDateFormatter does not work with NSDateFormatterBehavior10_4


  • Subject: Re: Localizing NSDateFormatter does not work with NSDateFormatterBehavior10_4
  • From: Frank Illenberger <email@hidden>
  • Date: Fri, 5 Aug 2005 23:46:57 +0200


If I set a text field with an NSDateFormatter localized in IB, I can
type Today in the text field, and today's date is displayed.
However, if I programatically set the date formatter behavior to
NSDateFormatterBehavior10_4, the formatter no longer acts as if it's
localized.  Typing Today no longer works.  I want the date formatter
set to NSDateFormatterBehavior10_4 so I can use the new Date and Time
Format Styles.  Is there any way to get both behaviors, localized
and  Date and Time Format Styles?  So far it appears not.  Another
Cocoa bug?
Thanks!
Bill


Bill,

I am currently fighting with the same bug. The funny thing in my app is, that half of the time my date formatters do localize and the other half of the time they dont. If they dont, often it is enough to restart my application to make them localize and vice versa. I have not reported it yet because I could not construct a definitive test case for it yet.
Does anybody have any more experience with this issue?


Cheers

 Frank


_______________________________________________ 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
  • Prev by Date: <relationship fault: 0x4ee6830 ...>
  • Next by Date: Re: <relationship fault: 0x4ee6830 ...>
  • Previous by thread: Localizing NSDateFormatter does not work with NSDateFormatterBehavior10_4
  • Next by thread: Deleting the last word of an NSString
  • Index(es):
    • Date
    • Thread