This commit is contained in:
Dragon Fire
2020-11-25 17:51:54 -05:00
parent 78a6061844
commit a22af5768e
+1 -1
View File
@@ -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}**.`);
}