On 18.10.2010, at 21:08, Alex Kac wrote:
> That all said, everything everyone said is true here about this not being a 
> one-size fits all solution. Its not meant to be. That's the one reason I tend 
> not to post here much - I feel like sometimes I have to give everyone a full 
> design doc along my question otherwise I spend the next 20 posts trying to 
> explain my purpose. But in the end I do get what I need and I thank everyone 
> for that.

 Still, I urge you to then build your strings manually. Make a struct tm from 
your date and create the actual time stamp from that, with *your own* AM/PM 
suffixes. Because "System Preferences" -> "Language & Text" -> "Formats" -> 
"Times" -> "Customize..." lets users change the complete date format, including 
the AM/PM suffix, order of components etc. You have no guarantee that the 
default strings will be the same on your system.

 Moreover, System Preferences lets you set date, time and number formats 
separately. Someone can be living in Bulgaria, run under US English-Language 
because he's a developer and can't wait for a localization pass to run their 
app that's developed in English, but have their number formats set to their 
native Swiss German number format (which is noticeably different from the 
Federal Republic's German). If you want to do your own date display, go to a 
lower level.

 Of course, you said you're on iOS, and I'm not sure where iOS gets its date 
settings from, so that may be a less pathological case, but honestly, you're 
asking for trouble.

 But as you said, I don't expect you to justify yourself. It's your program. I 
just think you (and anyone finding this thread in the archives via Google) 
should have all the facts.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to