• 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
The other format strings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The other format strings?


  • Subject: The other format strings?
  • From: Casey Fleser <email@hidden>
  • Date: Tue, 27 Dec 2005 10:50:28 -0600

NSUserDefaults.h declares the following constants for date/time formatting:
NSTimeFormatString, NSDateFormatString, NSShortDateFormatString. Also NSTimeDateFormatString and NSShortTimeDateFormatString.

This is all good, but International pref pane allows the definition of short, medium, long and full formats for both date and time. I'm curious if there are constants declared for each of these formats. Or if there is some other standard method of discovering how a user has defined these?

OBTW, it looks like NSTimeFormatString corresponds to the "medium" format, NSDateFormatString is "full" and NSShortDateFormatString is "short" in the International pref pane.

Thanks for any insight,

Casey

_______________________________________________
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: Re: NSArrayController
  • Next by Date: NSObjectController: can't populate all elements of NSMutableDictionary in File's Owner (part deux)
  • Previous by thread: Re: Retrieving data returned by AppleScript
  • Next by thread: NSObjectController: can't populate all elements of NSMutableDictionary in File's Owner (part deux)
  • Index(es):
    • Date
    • Thread