Unverified Commit bd6f8822 authored by Jerome Boucher's avatar Jerome Boucher
Browse files

fix(#14228) : Add filter for filename to be windows system compatible

parent c2235bad
Pipeline #8543 failed with stage
......@@ -102,7 +102,7 @@ class digitalResource
$resource->fileName = $pathinfo['filename'];
if ($withDateTime) {
$resource->fileName .= "_".(string) \laabs::newDate(\laabs::newDatetime(null, "UTC"), "Y-m-d_H:i:s");
$resource->fileName .= "_".(string) \laabs::newDate(\laabs::newDatetime(null, "UTC"), "Y-m-d_H-i-s");
if (isset($pathinfo['extension'])) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment