- displayMsg(e, Message::Topic, tr("Channel %1 created on %2").arg(channel, time.toString()), QString(), channel);
+ displayMsg(e, Message::Topic, tr("Channel %1 created on %2")
+ .arg(channel, QLocale().toString(time, QLocale().dateTimeFormat())),
+ QString(), channel);