diff options
author | mistic100 <mistic@piwigo.org> | 2014-05-18 10:58:53 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-05-18 10:58:53 +0000 |
commit | 97ffdb2edc14c12502f75efef9622cecd89a3020 (patch) | |
tree | 942c99b9493aaf6a73092b89d87ce725e660dfe7 /admin/batch_manager_global.php | |
parent | 914b6d96d2cae67507ef848a7a229fd5319d7968 (diff) |
feature 2679 : allow to change creation time
git-svn-id: http://piwigo.org/svn/trunk@28500 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/batch_manager_global.php')
-rw-r--r-- | admin/batch_manager_global.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 |