Re: How to use NSTimeZone to select the date/time display to use [OT]
Re: How to use NSTimeZone to select the date/time display to use [OT]
- Subject: Re: How to use NSTimeZone to select the date/time display to use [OT]
- From: Chuck Hill <email@hidden>
- Date: Thu, 15 Mar 2007 09:59:47 -0700
On Mar 14, 2007, at 8:08 PM, Baiss Eric Magnusson wrote:
I'm awash in synchronicity, just as I was working with the DST/time
zone problem with the two non-profit calendaring applications I
have developed, and along comes a strong message from the continent
that my main program <Track-Your-Finances> is totally provincial,
as in U.S. in its presentation.
Of course, but to the quick.
I know how to get time zones from client computers, and store and
re-create them from the database. Cheers to the group.
But, how can I tell from the time zone what date/time systems I
should use, like mm/dd/yy or dd/mm/yy? I don't need an entry
mechanism, just display.
That is a localization issue. One option would be to add this to the
user preferences. I have not had to do this before without resorting
to user preferences, so perhaps there is a better way. But you could
look at the languages choices in the header and if en-us (American
English) is the first choice use the mm/dd/yy format, otherwise use
the sensible format.
(btw, I am achieving some marketing penetration through the
metaverse implementation, Second Life, <http://www.secondlife.com>)
Interesting!
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden