mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-01 02:52:50 +02:00
feature 2679 : allow to change creation time
git-svn-id: http://piwigo.org/svn/trunk@28500 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user