From e07f1800c61cc96cbacaf50abc71a097f134a413 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Wed, 25 Sep 2013 10:25:52 +0100 Subject: [PATCH] use utility function for date formatting, to give consistant appearance --- plugins/debug-raw-portal-data.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/debug-raw-portal-data.user.js b/plugins/debug-raw-portal-data.user.js index afbdf8b3..58302591 100644 --- a/plugins/debug-raw-portal-data.user.js +++ b/plugins/debug-raw-portal-data.user.js @@ -2,7 +2,7 @@ // @id iitc-plugin-raw-portal-data // @name IITC plugin: Debug: Raw portal JSON data // @category Debug -// @version 0.2.1.@@DATETIMEVERSION@@ +// @version 0.2.2.@@DATETIMEVERSION@@ // @namespace rawdata // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@ @@ -43,7 +43,7 @@ window.plugin.rawdata.showPortalData = function(guid) { var body = 'Portal GUID: '+guid+'
' + - 'Entity timestamp: '+ts+' - '+new Date(ts).toLocaleString()+'
' + + 'Entity timestamp: '+ts+' - '+window.unixTimeToDateTimeString(ts,true)+'
' + '
'+JSON.stringify(d,null,2)+'
'; body += '

Links referencing this portal

';