Changed date format of backup files.

This commit is contained in:
Joao Alves 2021-03-24 22:56:55 +00:00
parent b1ad654ca8
commit 009366cab9

View file

@ -468,7 +468,7 @@ if (isset($_POST['ajax']) && !FM_READONLY) {
$relativeDirPath = fm_clean_path($_POST['path']);
$fullPath .= "{$relativeDirPath}/";
}
$date = date("dMy-His");
$date = date("Ymd-His");
$newFileName = "{$fileName}-{$date}.bak";
$fullyQualifiedFileName = $fullPath . $fileName;
try {