m is not n

This commit is contained in:
reality 2015-04-02 18:44:37 +00:00
parent c873d4888d
commit 58ef784a1e

View File

@ -45,7 +45,7 @@ var commands = function(dbot){
'~time': function(event) {
dbot.api.profile.getProfile(event.server, event.params[1], function(err, user, profile) {
if(!err) {
var tz = profile.profile.timezome;
var tz = profile.profile.timezone;
if(tz) {
event.reply('The time for ' + event.params[1] + ' is ' + moment().tz(tz).format('HH:mm:ss on DD/MM/YYYY'));
} else {