Commit 49035f02 authored by Prosper De Laure's avatar Prosper De Laure
Browse files

Presenter modification for archive information date metadatas

parent 1b696ef3
......@@ -157,7 +157,7 @@ class welcome
$archive->depositDate = $archive->depositDate->format('Y-m-d H:i:s');
if ($archive->originatingDate) {
$archive->originatingDate = $archive->originatingDate->format('d/m/Y');
$archive->originatingDate = $archive->originatingDate;
}
// Retention
......@@ -399,7 +399,6 @@ class welcome
$descriptionHtml .= '<th title="'.$label.'" name="'.$name.'" data-type="'.$type.'">'.$label.'</th>';
if ($type == "date") {
$textValue = \laabs::newDate($value);
$textValue = $textValue->format("d/m/Y");
} else {
$textValue = $value;
......
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