refactor date utils
This commit is contained in:
parent
a1c66f31fc
commit
2690381144
5 changed files with 40 additions and 20 deletions
|
@ -86,7 +86,7 @@ define(["loading", "dom", "libraryMenu", "globalize", "scripts/imagehelper", "hu
|
|||
deviceHtml += "<div class='cardText cardText-secondary'>";
|
||||
if (device.LastUserName) {
|
||||
deviceHtml += device.LastUserName;
|
||||
deviceHtml += ", " + humane_date(device.DateLastActivity);
|
||||
deviceHtml += ", " + humaneDate(device.DateLastActivity);
|
||||
}
|
||||
deviceHtml += " ";
|
||||
deviceHtml += "</div>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue