Commit 7c0b5600 authored by Jerome Boucher's avatar Jerome Boucher
Browse files

update conf files and medona presenter

parent 4c404d65
......@@ -270,3 +270,11 @@ tasks = "[
'description' : 'Purge des bordereaux'
}
]"
[dependency.localisation]
@Adapter = Gettext
lang = fr
dateFormat = d-m-Y
dateTimeFormat = "Y-m-d H:i:s \(P\)"
timestampFormat = "Y-m-d H:i:s \(P\)"
timezone = Europe/Paris
......@@ -332,7 +332,7 @@ class message
$dateInter = new \DateInterval($archive->appraisalRule->duration);
$numberDuration = 0;
$toDisplay = '';
if ($dateInter->y != 0) {
if ($dateInter->y == 999999999) {
$toDisplay = "Unlimited";
......@@ -383,7 +383,11 @@ class message
$dataTable->setPaginationType("full_numbers");
$dataTable->setSorting(array(array(0, 'desc')));
}
foreach ($messageObjects as $key => $message) {
$messageObjects[$key] = $this->json->formatDateTimes($message);
}
$this->view->setSource('messages', $messageObjects);
$this->view->merge();
......
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