From 97ffdb2edc14c12502f75efef9622cecd89a3020 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sun, 18 May 2014 10:58:53 +0000 Subject: feature 2679 : allow to change creation time git-svn-id: http://piwigo.org/svn/trunk@28500 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/batch_manager_global.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin/batch_manager_global.php') diff --git a/admin/batch_manager_global.php b/admin/batch_manager_global.php index 1d72e2e2d..c8bc38dad 100644 --- a/admin/batch_manager_global.php +++ b/admin/batch_manager_global.php @@ -292,7 +292,7 @@ DELETE } else { - $date_creation = $_POST['date_creation'].' 00:00:00'; + $date_creation = $_POST['date_creation']; } $datas = array(); @@ -565,7 +565,7 @@ if (count($page['cat_elements_id']) > 0) // creation date $template->assign('DATE_CREATION', - empty($_POST['date_creation']) ? date('y-n-j') : $_POST['date_creation'] + empty($_POST['date_creation']) ? date('Y-m-d').' 00:00:00' : $_POST['date_creation'] ); // image level options -- cgit v1.2.3