From 5f448abd2be80c8a373f15a18e954b646f6fb7e8 Mon Sep 17 00:00:00 2001
From: okhin <okhin@laquadrature.net>
Date: Thu, 21 Mar 2019 17:17:17 +0100
Subject: [PATCH] Revert "Changement du format de CSV avec une date sur 4
 chiffres"

This reverts commit ccd268bf64179368459382a105072d240d635bc2
---
 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 f93485e..b88da31 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']
+                    $time_struct['tm_year']+1900
                 ));
                 $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']
+                        $time_struct['tm_year']+1900
                     ));
                     // Pour un don récurrent, on recherche son équivalent qui peut ne pas exister
                     $result = $db->query("SELECT email
-- 
GitLab