[fw-general] how to set timezone depend on locale
Hi there, I want to set timezone depend on the user locale,how to do it? Best Regards, Jacky
Re: [fw-general] how to set timezone depend on locale
This is not possible, because timezones are not related to locales. Expect you have the locale 'en_US'... so which of the 5 possible timezones will you use ??? or when you use the locale 'en'... which of the 15 possible timezones then to use ??? The only possibility for you is that you create a relation (array, db,...) between timezone and locale yourself. I dont know any project in the wild wild world which adds this natively. Greetings Thomas I18N Team Leader - Original Message - From: Jacky Chen [EMAIL PROTECTED] To: fw-general@lists.zend.com Sent: Tuesday, September 04, 2007 10:40 AM Subject: [fw-general] how to set timezone depend on locale Hi there, I want to set timezone depend on the user locale,how to do it? Best Regards, Jacky
Re: [fw-general] how to set timezone depend on locale
And Timezone depends more on Country / Region than on locales On 9/4/07, Thomas Weidner [EMAIL PROTECTED] wrote: This is not possible, because timezones are not related to locales. Expect you have the locale 'en_US'... so which of the 5 possible timezones will you use ??? or when you use the locale 'en'... which of the 15 possible timezones then to use ??? The only possibility for you is that you create a relation (array, db,...) between timezone and locale yourself. I dont know any project in the wild wild world which adds this natively. Greetings Thomas I18N Team Leader - Original Message - From: Jacky Chen [EMAIL PROTECTED] To: fw-general@lists.zend.com Sent: Tuesday, September 04, 2007 10:40 AM Subject: [fw-general] how to set timezone depend on locale Hi there, I want to set timezone depend on the user locale,how to do it? Best Regards, Jacky -- Yannux http://blog.onbebop.net
Re: [fw-general] how to set timezone depend on locale
Thanks. 2007/9/4, Yann Nave [EMAIL PROTECTED]: And Timezone depends more on Country / Region than on locales On 9/4/07, Thomas Weidner [EMAIL PROTECTED] wrote: This is not possible, because timezones are not related to locales. Expect you have the locale 'en_US'... so which of the 5 possible timezones will you use ??? or when you use the locale 'en'... which of the 15 possible timezones then to use ??? The only possibility for you is that you create a relation (array, db,...) between timezone and locale yourself. I dont know any project in the wild wild world which adds this natively. Greetings Thomas I18N Team Leader - Original Message - From: Jacky Chen [EMAIL PROTECTED] To: fw-general@lists.zend.com Sent: Tuesday, September 04, 2007 10:40 AM Subject: [fw-general] how to set timezone depend on locale Hi there, I want to set timezone depend on the user locale,how to do it? Best Regards, Jacky -- Yannux http://blog.onbebop.net