c = that.panels.getByName(event.channel);\r
if (!c) return;\r
\r
- when = new Date(event.when * 1000).toLocaleString();\r
+ when = formatDate(new Date(event.when * 1000));\r
c.addMsg('', 'Topic set by ' + event.nick + ' at ' + when, 'topic');\r
});\r
\r
} else if (event.logon) {\r
logon_date = new Date();\r
logon_date.setTime(event.logon * 1000);\r
- logon_date = logon_date.toLocaleString();\r
+ logon_date = formateDate(logon_date);\r
\r
panel.addMsg(event.nick, 'idle for ' + idle_time + ', signed on ' + logon_date, 'whois');\r
} else {\r