• 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: Intelligent date squishing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intelligent date squishing


  • Subject: Re: Intelligent date squishing
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Fri, 5 Aug 2005 20:16:38 +0100



The "Date Modified" column in the Finder shows this if there is enough space:

Wednesday, 3 August 2005, 20:16

If I shrink it some, it turns to this:

3 August 2005, 20:16

If I shrink it some more:

3 Aug 2005, 20:16

A little more:

03/08/2005, 20:16

A little more:

03/08/2005

That's what I'm talking about.

On 5 Aug 2005, at 19:41, August Trometer wrote:

Most likely, the dates you're talking about are attributed strings using a paragraph style with NSLineBreakByTruncatingTail.

In Xcode 2.x, you can set a specific data cell for a column and set the Line Break Mode there. I believe this only works with 10.4.

-- August


On Aug 5, 2005, at 1:15 PM, Theodore H. Smith wrote:


I'm wondering how the Finder will "Squish" the dates if they are too big to be displayed in the current format. Is this a standard NSDateFormatter functionality or must I implement it myself?






--
http://elfdata.com/plugin/ Industrial strength string processing, made easy.


"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."

_______________________________________________
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


References: 
 >Intelligent date squishing (From: "Theodore H. Smith" <email@hidden>)
 >Re: Intelligent date squishing (From: August Trometer <email@hidden>)

  • Prev by Date: RE: objc and RDBMS
  • Next by Date: Re: How turn-off C-run time library memory diagnostics?
  • Previous by thread: Re: Intelligent date squishing
  • Next by thread: Re: Intelligent date squishing
  • Index(es):
    • Date
    • Thread