From 6d9c8cd4b6d0df71bee50f78926416a6949ca696 Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Sat, 6 Oct 2012 15:40:29 +0100 Subject: [PATCH] Correcting date formatting for RPL_WHOISIDLE --- client_backbone/dev/model_application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_backbone/dev/model_application.js b/client_backbone/dev/model_application.js index d1b8c2f..bf4fff9 100755 --- a/client_backbone/dev/model_application.js +++ b/client_backbone/dev/model_application.js @@ -532,7 +532,7 @@ kiwi.model.Application = Backbone.Model.extend(new (function () { } else if (event.logon) { logon_date = new Date(); logon_date.setTime(event.logon * 1000); - logon_date = logon_date.toLocaleDateString() + ', ' + logon_date.getHours().toString() + ':' + logon_date.getMinutes().toString() + ':' + logon_date.getSeconds().toString(); + logon_date = formatDate(logon_date); panel.addMsg(event.nick, 'idle for ' + idle_time + ', signed on ' + logon_date, 'whois'); } else { -- 2.25.1