1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-28 23:07:13 -04:00

Fixed: Don't show today's relative time for release dates

This commit is contained in:
Bogdan
2024-08-31 11:03:09 +03:00
parent fa80608394
commit 9fe4793606
5 changed files with 16 additions and 1 deletions
@@ -11,6 +11,7 @@ interface RelativeDateCellProps {
date?: string;
includeSeconds?: boolean;
includeTime?: boolean;
timeForToday?: boolean;
component?: React.ElementType;
}
@@ -20,6 +21,7 @@ function RelativeDateCell(props: RelativeDateCellProps) {
date,
includeSeconds = false,
includeTime = false,
timeForToday = true,
component: Component = TableRowCell,
...otherProps
@@ -48,7 +50,7 @@ function RelativeDateCell(props: RelativeDateCellProps) {
timeFormat,
includeSeconds,
includeTime,
timeForToday: true,
timeForToday,
})}
</Component>
);