m is not n

This commit is contained in:
reality 2015-04-02 18:45:32 +00:00
parent 58ef784a1e
commit 300a6c51a1

View File

@ -47,7 +47,7 @@ var commands = function(dbot){
if(!err) { if(!err) {
var tz = profile.profile.timezone; var tz = profile.profile.timezone;
if(tz) { if(tz) {
event.reply('The time for ' + event.params[1] + ' is ' + moment().tz(tz).format('HH:mm:ss on DD/MM/YYYY')); event.reply('The time for ' + event.params[1] + ' in ' + tz + ' is ' + moment().tz(tz).format('HH:mm:ss on DD/MM/YYYY'));
} else { } else {
event.reply(user.currentNick + ' needs to set a timezone with ~timezone'); event.reply(user.currentNick + ' needs to set a timezone with ~timezone');
} }