Eric,

From the point of usability there would be two ways...
Use google maps and make a connection to timezone.

OR
let the user select his country, then you would know the timezone to use.

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

----- Original Message ----- From: "Eric Marden" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, May 02, 2008 10:41 PM
Subject: RE: [fw-general] Timezone recommendations?


* Utilize a subset of the full list, if you know where most of your
traffic is from. Or limit it based on information you've already
collected (country, etc)

* Create a widget that represents the timezone selections via a map and
drop down list (similar to what some operating systems do when using the
'formal' list of timezones).
I've always wanted to create something like this using a flash map
(http://www.usflashmap.com/products/time_zone_map/
<http://www.usflashmap.com/products/time_zone_map/> ) and with different
points on the map representing the named timezones at:
http://us.php.net/manual/en/function.timezone-identifiers-list.php
<http://us.php.net/manual/en/function.timezone-identifiers-list.php>
but have never ponied up the bucks for the graphics or had more time to
persue it.

--
Eric Marden



________________________________

From: Justin Hendrickson [mailto:[EMAIL PROTECTED] Sent: Friday, May 02, 2008 3:11 PM
To: [email protected]
Subject: [fw-general] Timezone recommendations?


I'm trying to create a list of translated timezones, but I'm
finding the variety of options pretty overwhelming.

I wanted to avoid having to store GMT offsets and DST flags, and
instead store PHP  area/location values
(http://us.php.net/manual/en/timezones.php) which I could fetch via
timezone_identifiers_list()
(http://us.php.net/manual/en/function.timezone-identifiers-list.php),
but it seems to be pretty impractical to display that entire list to end
users. There's a lot of ambiguity in list as well. For example,
US/Arizona and America/Phoenix; America/Havana and Cuba; UTC and UCT.
Additionally, PHP doesn't offer any translations so there was no way I
was going to do that myself.

I thought I'd have a little more luck using Zend_Locale getting
translations, so I looked at the CityToTimezone list. For some reason,
Zend_Locale_Data::getList('en', 'CityToTimezone') only returns three
results. Other locales returned various different counts (es: 83, el:
293), so I'm a bit confused how to use it. I also tried the
WindowsToTimezone list which seems promising as a compromise of
completeness vs usability, but there were ambiguous entries (US Mountain
and Mountain) in the list and none of the results were coming back
translated.

I tried search Google for a bit, but I wasn't able to find any
recommendations or guidelines for timezone selection, so I'm at a dead
end. Any suggestions?



Reply via email to