mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
24 horu clock to appease roi
This commit is contained in:
parent
a721d82e76
commit
e45aa0bcde
@ -58,7 +58,7 @@ var commands = function(dbot) {
|
||||
this.api.resolveUser(event.server, nick, function(user) {
|
||||
if(user) {
|
||||
if(user.timezone) {
|
||||
var fDate = moment.tz(user.timezone).format('LLL');
|
||||
var fDate = moment.tz(user.timezone).format('MMMM Do YYYY HH:mm:ss');
|
||||
event.reply('The time for ' + user.primaryNick + ' is: ' + fDate);
|
||||
} else {
|
||||
event.reply(user.primaryNick + ' doesn\'t have a timezone set. They can do this with ~timezone.');
|
||||
|
Loading…
Reference in New Issue
Block a user