From 993a8056ece65bdfbb78d07e8c7501829417c350 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 20 Apr 2021 08:38:52 +0200 Subject: [PATCH] convert checkout date to readable date --- views/bootstrap/class.ViewDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 26c46ffd8..1a9759d4c 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -206,7 +206,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Theme_Style { foreach($infos as $info) { $checkoutuser = $dms->getUser($info['userID']); echo "
"; - echo "".getMLText('copied_to_checkout_as', array('date'=>$info['date'], 'filename'=>substr($info['filename'], strlen($checkoutpath)+1), 'username'=>($checkoutuser ? $checkoutuser->getFullName() : ''))).""; + echo "".getMLText('copied_to_checkout_as', array('date'=>getLongReadableDate(makeTsFromLongDate($info['date'])), 'filename'=>substr($info['filename'], strlen($checkoutpath)+1), 'username'=>($checkoutuser ? $checkoutuser->getFullName() : ''))).""; echo "
"; } }