mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-13 06:47:46 -08:00
Change to use the date() function instead of Helper::getFormattedDateObject()
This commit is contained in:
parent
700b4ef058
commit
91c7a89f93
|
@ -1061,7 +1061,7 @@ class SettingsController extends Controller
|
||||||
'filename' => basename($backup_files[$f]),
|
'filename' => basename($backup_files[$f]),
|
||||||
'filesize' => Setting::fileSizeConvert(Storage::size($backup_files[$f])),
|
'filesize' => Setting::fileSizeConvert(Storage::size($backup_files[$f])),
|
||||||
'modified_value' => $file_timestamp,
|
'modified_value' => $file_timestamp,
|
||||||
'modified_display' => Helper::getFormattedDateObject($file_timestamp, $type = 'datetime', false),
|
'modified_display' => date("M d, Y g:i A", $file_timestamp),
|
||||||
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue