Re: Re: I18Nv2 and internationalization
| From: | Michael Wallner | Date: | Wed, 09 Nov 2005 10:57:38 +0000 |
| Subject: | Re: Re: I18Nv2 and internationalization | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21852@lists.php.net to get a copy of this message | ||
Hi Dan Rossi, you wrote:
> Im pretty sure there was a question there. I am needing to work out how
> to add a date into the database given by a country location/ country
> code using this package as I dont have anything in the country table
> joining country codes with language codes to be used for the locale I
> only have country codes. Then using this package in conjuction with say
> GeoIP if needed to obtain the clients location and display the date
> within their timezone ? Is this too confusing ?
I18Nv2_Locale is only meant for _displaying_ dates in the users locale.
You should store all dates in a unified format, e.g. GMT or your local
timezone.
Regards,
--
Michael - <mike(@)php.net> http://dev.iworks.at/ext-http/http-functions.html.gz