projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3766a0
)
Correcting date formatting for RPL_WHOISIDLE
author
Jack Allnutt
<m2ys4u@Gmail.com>
Sat, 6 Oct 2012 14:40:29 +0000
(15:40 +0100)
committer
Jack Allnutt
<m2ys4u@Gmail.com>
Sat, 6 Oct 2012 14:40:29 +0000
(15:40 +0100)
client_backbone/dev/model_application.js
patch
|
blob
|
blame
|
history
diff --git
a/client_backbone/dev/model_application.js
b/client_backbone/dev/model_application.js
index d1b8c2fc9f8a7ded6a9fa474d2a21cf0acc675a7..bf4fff928b29cfc5f8ba64a105b3797789890352 100755
(executable)
--- 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) {
\r
logon_date = new Date();
\r
logon_date.setTime(event.logon * 1000);
\r
- logon_date =
logon_date.toLocaleDateString() + ', ' + logon_date.getHours().toString() + ':' + logon_date.getMinutes().toString() + ':' + logon_date.getSeconds().toString(
);
\r
+ logon_date =
formatDate(logon_date
);
\r
\r
panel.addMsg(event.nick, 'idle for ' + idle_time + ', signed on ' + logon_date, 'whois');
\r
} else {
\r