diff options
| author | Fuwn <[email protected]> | 2026-04-28 05:34:14 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-04-28 05:34:14 -0700 |
| commit | 1e149a29f6732c245364aa551fd08e2991310d98 (patch) | |
| tree | cbafe7526a00309a44a66e11913e8c3b7147f208 /src/lib/Media/Anime/Airing/time.ts | |
| parent | refactor(airing): unify countdown formatter into shared helper (diff) | |
| download | due.moe-1e149a29f6732c245364aa551fd08e2991310d98.tar.xz due.moe-1e149a29f6732c245364aa551fd08e2991310d98.zip | |
style: apply biome formatter
Diffstat (limited to 'src/lib/Media/Anime/Airing/time.ts')
| -rw-r--r-- | src/lib/Media/Anime/Airing/time.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/Media/Anime/Airing/time.ts b/src/lib/Media/Anime/Airing/time.ts index b7547dd2..97f8818a 100644 --- a/src/lib/Media/Anime/Airing/time.ts +++ b/src/lib/Media/Anime/Airing/time.ts @@ -39,7 +39,9 @@ export const airingTime = ( ).toLocaleDateString()}</span>`; if (untilAiring !== undefined) { - const { text: timeFrame, few } = formatCountdown(untilAiring, { forceDays }); + const { text: timeFrame, few } = formatCountdown(untilAiring, { + forceDays, + }); const opacity = Math.max(50, 100 - (untilAiring / 60 / 60 / 24 / 7) * 50); const nextEpisode = anime.nextAiringEpisode?.nativeAiringAt && |