• 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: NSDateFormatter and time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDateFormatter and time


  • Subject: Re: NSDateFormatter and time
  • From: Greg Hoover <email@hidden>
  • Date: Sat, 30 Jun 2007 11:17:24 -0700

I have the call to create 10.4 formatter objects by default, I just omitted it from the example post.

Thanks.
On Jun 30, 2007, at 10:50 AM, Nick Zitzmann wrote:


On Jun 29, 2007, at 5:33 PM, Greg Hoover wrote:

[dateFormatter setDateStyle: NSDateFormatterShortStyle];
[dateFormatter setTimeStyle: NSDateFormatterShortStyle];

In addition to what others said, date style and time style only work on 10.4-behavior NSDateFormatter objects. By default, NSDateFormatter uses the 10.0 behavior.


Nick Zitzmann
<http://www.chronosnet.com/>





Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSDateFormatter and time (From: Greg Hoover <email@hidden>)
 >Re: NSDateFormatter and time (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: ScreenSaver Shell?
  • Next by Date: Re: Transform not quite right
  • Previous by thread: Re: NSDateFormatter and time
  • Next by thread: detecting mouse movement when window is inactive
  • Index(es):
    • Date
    • Thread