From 6c5e150b9b34186f367c4f656029cf6483bfb879 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 9 Jan 2021 10:46:15 -0500 Subject: [PATCH] Make years visible --- commands/events/days-until.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/events/days-until.js b/commands/events/days-until.js index 8778b98b..aa1cc4d6 100644 --- a/commands/events/days-until.js +++ b/commands/events/days-until.js @@ -44,6 +44,6 @@ module.exports = class DaysUntilCommand extends Command { const futureFormat = moment.utc(future).format('dddd, MMMM Do, YYYY'); const time = moment.duration(future - now); const link = time.months() ? time.months() === 1 ? 'is' : 'are' : time.days() === 1 ? 'is' : 'are'; - return msg.say(`There ${link} ${time.format('M [months and] d [days]')} until ${futureFormat}!`); + return msg.say(`There ${link} ${time.format('Y [years], M [months and] d [days]')} until ${futureFormat}!`); } };