mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-29 04:01:19 +00:00
format date with getLongReadableDate()
This commit is contained in:
parent
bf22fe7e6a
commit
fcab6f5a09
|
|
@ -1363,7 +1363,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
}
|
}
|
||||||
print "<tr>\n";
|
print "<tr>\n";
|
||||||
print "<td>".$reqName."</td>\n";
|
print "<td>".$reqName."</td>\n";
|
||||||
print "<td><ul class=\"unstyled\"><li>".$r["date"]."</li>";
|
print "<td><ul class=\"unstyled\"><li>".getLongReadableDate($r["date"])."</li>";
|
||||||
/* $updateUser is the user who has done the receipt */
|
/* $updateUser is the user who has done the receipt */
|
||||||
$updateUser = $dms->getUser($r["userID"]);
|
$updateUser = $dms->getUser($r["userID"]);
|
||||||
print "<li>".(is_object($updateUser) ? htmlspecialchars($updateUser->getFullName()." (".$updateUser->getLogin().")") : "unknown user id '".$r["userID"]."'")."</li></ul></td>";
|
print "<li>".(is_object($updateUser) ? htmlspecialchars($updateUser->getFullName()." (".$updateUser->getLogin().")") : "unknown user id '".$r["userID"]."'")."</li></ul></td>";
|
||||||
|
|
@ -1494,7 +1494,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
if($user->isAdmin() || $r["status"] != -2) {
|
if($user->isAdmin() || $r["status"] != -2) {
|
||||||
print "<tr>\n";
|
print "<tr>\n";
|
||||||
print "<td>".$reqName."</td>\n";
|
print "<td>".$reqName."</td>\n";
|
||||||
print "<td><ul class=\"unstyled\"><li>".$r["date"]."</li>";
|
print "<td><ul class=\"unstyled\"><li>".getLongReadableDate($r["date"])."</li>";
|
||||||
/* $updateUser is the user who has done the revision */
|
/* $updateUser is the user who has done the revision */
|
||||||
if($r['status'] != 0) {
|
if($r['status'] != 0) {
|
||||||
$updateUser = $dms->getUser($r["userID"]);
|
$updateUser = $dms->getUser($r["userID"]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user