diff --git a/tools/wiki/rencontres.php b/tools/wiki/rencontres.php index 6378012..42a119a 100644 --- a/tools/wiki/rencontres.php +++ b/tools/wiki/rencontres.php @@ -3,6 +3,7 @@ require 'db/local.php'; setlocale(LC_ALL, "fr_FR.UTF8"); +date_default_timezone_set("Europe/Paris"); $db = new mysqli('localhost', $user_tiki, $pass_tiki, $dbs_tiki); @@ -42,7 +43,7 @@ function getevents($list) { $back = array(); foreach ($list as $id => $date) { $d = date_create(); - date_timestamp_set($d, $date); + localtime(date_timestamp_set($d, $date)); $event = array( 'id' => $id, 'date' => strftime("%A %e %B", $date)