anix/fix: incorrect format of watched time statistic

This commit is contained in:
Kentai Radiquum 2025-08-24 23:21:07 +05:00
parent be0731cfba
commit 052e649012
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 37 additions and 25 deletions

View file

@ -112,7 +112,7 @@ export const ProfileStats = (props: {
<p>
Время просмотра:{" "}
<span className="font-bold">
~{minutesToTime(props.watched_time, "daysHours")}
~{minutesToTime(props.watched_time)}
</span>
</p>
</div>

View file

@ -59,7 +59,7 @@ export const ReleaseInfoInfo = (props: {
{"/"}
{props.episodes.total ? props.episodes.total + " эп. " : "? эп. "}
{props.duration != 0 &&
`по ${minutesToTime(props.duration, "daysHours")}`}
`по ${minutesToTime(props.duration)}`}
</TableCell>
</TableRow>
<TableRow>