Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-17 16:05:51 +0400
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-17 16:05:51 +0400
commitf7e29eabf29e4bda052ad170df1955fce0ad37ee (patch)
treeeb6dc367c9a22cbc0d7b0cbd7cc31f68f6da05a8 /settings/js
parent8471340db9a5d33fb2d77974ad3852cd52f016e5 (diff)
fix admin log display and use a more readable format
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/log.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/settings/js/log.js b/settings/js/log.js
index 81117f9e827..84f6d1aa5f3 100644
--- a/settings/js/log.js
+++ b/settings/js/log.js
@@ -55,7 +55,11 @@ OC.Log={
row.append(messageTd);
var timeTd=$('<td/>');
- timeTd.text(formatDate(entry.time*1000));
+ if(isNaN(entry.time)){
+ timeTd.text(entry.time);
+ } else {
+ timeTd.text(formatDate(entry.time*1000));
+ }
row.append(timeTd);
$('#log').append(row);
}