Translations of this page?:

Définir le fuseau horaire

Pour définir le bon fuseau horaire, éditez le fichier conf/local.protected.php 1), et ajoutez la ligne suivante :

putenv("TZ=GMT");

Ou, si vous utilisez PHP5 :

date_default_timezone_set("GMT");

Remarque: Remplacez GMT avec la chaîne correspondant à votre fuseau horaire.

Vous pouvez trouver une liste de fuseaux sur cette page : http://www.theprojects.org/dev/zone.txt

1) Si vous modifiez conf/local.php, vos changements seront perdus quand vous changerez un paramètre depuis le Gestionnaire de configuration du wiki.
 
fr/tips/timezone.txt · Last modified: 2008/08/13 17:39 by laynee
 

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported

Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsTranslate