From ccd268bf64179368459382a105072d240d635bc2 Mon Sep 17 00:00:00 2001 From: Okhin <okhin@okhin.fr> Date: Mon, 28 Jan 2019 17:41:51 +0100 Subject: [PATCH] Changement du format de CSV avec une date sur 4 chiffres --- app/controller/admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controller/admin.php b/app/controller/admin.php index 3e36887..8c5f41e 100644 --- a/app/controller/admin.php +++ b/app/controller/admin.php @@ -1001,7 +1001,7 @@ class Admin extends Controller $time_struct['tm_sec'], $time_struct['tm_mon']+1, $time_struct['tm_mday'], - $time_struct['tm_year']+1900 + $time_struct['tm_year'] )); $cb['expiration'] = $new_expiration; if ($data['status'] == '') { @@ -1357,7 +1357,7 @@ class Admin extends Controller $time_struct['tm_sec'], $time_struct['tm_mon']+1, $time_struct['tm_mday'], - $time_struct['tm_year']+1900 + $time_struct['tm_year'] )); // Pour un don récurrent, on recherche son équivalent qui peut ne pas exister $result = $db->query("SELECT email -- GitLab