use utility function for date formatting, to give consistant appearance
This commit is contained in:
parent
b10116e95f
commit
e07f1800c6
@ -2,7 +2,7 @@
|
|||||||
// @id iitc-plugin-raw-portal-data
|
// @id iitc-plugin-raw-portal-data
|
||||||
// @name IITC plugin: Debug: Raw portal JSON data
|
// @name IITC plugin: Debug: Raw portal JSON data
|
||||||
// @category Debug
|
// @category Debug
|
||||||
// @version 0.2.1.@@DATETIMEVERSION@@
|
// @version 0.2.2.@@DATETIMEVERSION@@
|
||||||
// @namespace rawdata
|
// @namespace rawdata
|
||||||
// @updateURL @@UPDATEURL@@
|
// @updateURL @@UPDATEURL@@
|
||||||
// @downloadURL @@DOWNLOADURL@@
|
// @downloadURL @@DOWNLOADURL@@
|
||||||
@ -43,7 +43,7 @@ window.plugin.rawdata.showPortalData = function(guid) {
|
|||||||
|
|
||||||
var body =
|
var body =
|
||||||
'<b>Portal GUID</b>: <code>'+guid+'</code><br />' +
|
'<b>Portal GUID</b>: <code>'+guid+'</code><br />' +
|
||||||
'<b>Entity timestamp</b>: <code>'+ts+'</code> - '+new Date(ts).toLocaleString()+'<br />' +
|
'<b>Entity timestamp</b>: <code>'+ts+'</code> - '+window.unixTimeToDateTimeString(ts,true)+'<br />' +
|
||||||
'<pre>'+JSON.stringify(d,null,2)+'</pre>';
|
'<pre>'+JSON.stringify(d,null,2)+'</pre>';
|
||||||
|
|
||||||
body += '<p><b>Links referencing this portal</b></p>';
|
body += '<p><b>Links referencing this portal</b></p>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user