Skip to content

Commit

Permalink
Switch logging date format to YYYY-MM-DD.
Browse files Browse the repository at this point in the history
  • Loading branch information
imbcmdth committed Nov 17, 2013
1 parent ef037fb commit 3f8816c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/irc/index.js
Expand Up @@ -101,7 +101,7 @@ Bot.prototype.log = function(level, message) {
h = d.getHours(),
m = d.getMinutes(),
s = d.getSeconds(),
date = [pad2(D), pad2(M), Y].join('-'),
date = [Y, pad2(M), pad2(D)].join('-'),
time = [pad2(h), pad2(m), pad2(s)].join(':');

if (arguments.length > 2)
Expand Down

0 comments on commit 3f8816c

Please sign in to comment.