From f7e29eabf29e4bda052ad170df1955fce0ad37ee Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 17 Apr 2013 14:05:51 +0200 Subject: fix admin log display and use a more readable format --- settings/js/log.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'settings/js/log.js') 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=$(''); - 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); } -- cgit v1.2.3