From 6b635ff86182153da68cb9f39841db5d0cb9851e Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sun, 18 Jan 2026 13:33:10 +0100 Subject: [PATCH] Apply suggestion from @CommanderStorm --- server/notification-providers/discord.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/notification-providers/discord.js b/server/notification-providers/discord.js index 0c08c2326..6268a36b5 100644 --- a/server/notification-providers/discord.js +++ b/server/notification-providers/discord.js @@ -128,6 +128,7 @@ class Discord extends NotificationProvider { // Format duration as human-readable string (e.g., "1h 23m", "45m 30s") // TODO: Update below to Intl.DurationFormat("en", { style: "short" }).format(duration) once we are on a newer node version + // TODO: Update below to Intl.DurationFormat("en", { style: "short" }).format(duration) once we are on a newer node version const hours = Math.floor(durationSeconds / 3600); const minutes = Math.floor((durationSeconds % 3600) / 60); const seconds = durationSeconds % 60;