From 75d92a3703e65c7ff652a345947016f1186f524e Mon Sep 17 00:00:00 2001 From: Darren Date: Fri, 15 Nov 2013 11:09:23 +0000 Subject: [PATCH] server-time-iso fix --- server/irc/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/irc/commands.js b/server/irc/commands.js index 3882d3d..f951dfa 100644 --- a/server/irc/commands.js +++ b/server/irc/commands.js @@ -1017,7 +1017,7 @@ function getServerTime(command) { // Convert the time value to a unixtimestamp if (typeof time === 'string') { if (time.indexOf('T') > -1) { - time = parseISO8601(opts.time); + time = parseISO8601(time); } else if(time.match(/^[0-9.]+$/)) { // A string formatted unix timestamp -- 2.25.1