From a22af5768e782b55e604108b043daa862357e4ea Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 25 Nov 2020 17:51:54 -0500 Subject: [PATCH] Fix --- commands/analyze/parse-time.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/analyze/parse-time.js b/commands/analyze/parse-time.js index ce0bd93d..7c67cd24 100644 --- a/commands/analyze/parse-time.js +++ b/commands/analyze/parse-time.js @@ -21,7 +21,7 @@ module.exports = class ParseTimeCommand extends Command { } run(msg, { time }) { - const duration = moment.duration(Date.now() - time.startDate.getTime()); + const duration = moment.duration(time.startDate.getTime() - Date.now()); const display = duration.format('Y [years,] M [months,] d [days,] h [hours,] m [minutes and] s [seconds]'); return msg.say(`This time duration parses as **${display}**.`); }