From: Jack Allnutt Date: Sat, 6 Oct 2012 14:40:29 +0000 (+0100) Subject: Correcting date formatting for RPL_WHOISIDLE X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6d9c8cd4b6d0df71bee50f78926416a6949ca696;p=KiwiIRC.git Correcting date formatting for RPL_WHOISIDLE --- 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 {