convert checkout date to readable date

This commit is contained in:
Uwe Steinmann 2021-04-20 08:38:52 +02:00
parent 81f091a44d
commit 993a8056ec

View File

@ -206,7 +206,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Theme_Style {
foreach($infos as $info) {
$checkoutuser = $dms->getUser($info['userID']);
echo "<div class=\"alert alert-info\">";
echo "<a href=\"file://".$info['filename']."\">".getMLText('copied_to_checkout_as', array('date'=>$info['date'], 'filename'=>substr($info['filename'], strlen($checkoutpath)+1), 'username'=>($checkoutuser ? $checkoutuser->getFullName() : '')))."</a>";
echo "<a href=\"file://".$info['filename']."\">".getMLText('copied_to_checkout_as', array('date'=>getLongReadableDate(makeTsFromLongDate($info['date'])), 'filename'=>substr($info['filename'], strlen($checkoutpath)+1), 'username'=>($checkoutuser ? $checkoutuser->getFullName() : '')))."</a>";
echo "</div>";
}
}