From 7f950d5dc3951bf3abc1167faf4e6ce8c73ae9d2 Mon Sep 17 00:00:00 2001 From: Rushil Perera Date: Tue, 3 Sep 2024 22:07:31 -0400 Subject: [PATCH] fix: improve notification body for upcoming titles --- src/controllers/upcoming-titles/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/upcoming-titles/index.ts b/src/controllers/upcoming-titles/index.ts index 94cde94..a212714 100644 --- a/src/controllers/upcoming-titles/index.ts +++ b/src/controllers/upcoming-titles/index.ts @@ -53,7 +53,7 @@ app.post("/", async (c) => { }, notification: { title: "New Series Alert", - body: `${titleName} will be released on ${DateTime.fromSeconds(title.airingAt).toRelative({ unit: "days" })}`, + body: `${titleName} will be released ${DateTime.fromSeconds(title.airingAt).toRelative({ unit: ["days", "hours", "minutes"] })}`, image: title.media.coverImage?.medium ?? title.media.coverImage?.large ??