From afae28a26bb1e77dd8b5974a86e217977f52e6f6 Mon Sep 17 00:00:00 2001 From: Caleb Rogers Date: Mon, 6 Jul 2026 20:15:15 +0800 Subject: [PATCH] Ensure channel table also uses hr:mm time format --- frontend/src/components/ChannelList.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/ChannelList.tsx b/frontend/src/components/ChannelList.tsx index 40a94faf..db000839 100644 --- a/frontend/src/components/ChannelList.tsx +++ b/frontend/src/components/ChannelList.tsx @@ -3,6 +3,7 @@ import { ChannelType } from '../pages/Channels'; import Routes from '../configuration/routes/RouteList'; import updateChannelSubscription from '../api/actions/updateChannelSubscription'; import formatDate from '../functions/formatDates'; +import formatTime from '../functions/formatTime'; import humanFileSize from '../functions/humanFileSize'; import { FileSizeUnits } from '../api/actions/updateUserConfig'; import FormattedNumber from './FormattedNumber'; @@ -97,7 +98,7 @@ const ChannelList = ({ )} {channel.channel_video_count ?? 0} - {channel.channel_media_duration ?? '0s'} + {formatTime(channel.channel_media_duration ?? 0)} {humanFileSize(channel.channel_media_size ?? 0, useSiUnits)} {formatDate(channel.channel_last_refresh)}