[Phpmyadmin-devel] Timezone settings
Marc Delisle
Marc.Delisle at cegepsherbrooke.qc.ca
Fri Aug 3 19:34:29 CEST 2007
Sebastian Mendel a écrit :
> Hi
>
> ---
> Strict Standards: str*time() [function.str*time]: It is not safe to rely on
> the system's timezone settings. Please use the date.timezone setting, the TZ
> environment variable or the date_default_timezone_set() function.
> ---
>
> how should we handle this?
>
> by default the date.timezone should be setup in the php.ini
>
> so we should check this and set it if not set - but what value?
>
> adding one more main.php option to display and setup timezone?
>
Maybe we could do this:
- temporarily disable E_STRICT like we did in 2.11
- date_default_timezone_set( date_default_timezone_get() );
- reenable E_STRICT (if it was active)
More information about the Developers
mailing list