From 5a9c4418e1644ff91f585f7f7639a48b033df990 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 2 Sep 2020 18:32:27 -0400 Subject: [PATCH] Add years to days since --- commands/events/days-since.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/events/days-since.js b/commands/events/days-since.js index 03db60df..7c952e39 100644 --- a/commands/events/days-since.js +++ b/commands/events/days-since.js @@ -37,6 +37,6 @@ module.exports = class DaysSinceCommand extends Command { const past = new Date(`${month}/${day}/${year}`); const pastFormat = moment.utc(past).format('dddd, MMMM Do, YYYY'); const time = moment.duration(now - past); - return msg.say(`There have been ${time.format('M [months and] d [days]')} since ${pastFormat}!`); + return msg.say(`There have been ${time.format('Y [years,] M [months and] d [days]')} since ${pastFormat}!`); } };