I've had to write my own code to do this. It's not at all hard, but gets tedious when you decide to expand relative times to things like "about an hour ago," "tomorrow," etc.
-- Rick On Sep 7, 2012, at 11:37 , Dennis <li...@dbandel.com> wrote: > I'm getting stuck trying to format a variable quantity of elapsed time for > the user's locale. The NSDateFormatter class seems to only provide formats > for actual times (e.g. "1:30 AM"). What I need to do is turn 1 hour and 30 > minutes into "1:30" for my US English settings, and the appropriate string > for other locales. > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/rmann%40latencyzero.com > > This email sent to rm...@latencyzero.com -- Rick _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com