diff --git a/frontend/src/Components/Table/Cells/RelativeDateCell.tsx b/frontend/src/Components/Table/Cells/RelativeDateCell.tsx index 1c5be48be..4f4d94596 100644 --- a/frontend/src/Components/Table/Cells/RelativeDateCell.tsx +++ b/frontend/src/Components/Table/Cells/RelativeDateCell.tsx @@ -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, })} ); diff --git a/frontend/src/DiscoverMovie/Table/DiscoverMovieRow.js b/frontend/src/DiscoverMovie/Table/DiscoverMovieRow.js index 805b737b8..f07857bf4 100644 --- a/frontend/src/DiscoverMovie/Table/DiscoverMovieRow.js +++ b/frontend/src/DiscoverMovie/Table/DiscoverMovieRow.js @@ -202,6 +202,7 @@ class DiscoverMovieRow extends Component { key={name} className={styles[name]} date={inCinemas} + timeForToday={false} component={VirtualTableRowCell} /> ); @@ -213,6 +214,7 @@ class DiscoverMovieRow extends Component { key={name} className={styles[name]} date={physicalRelease} + timeForToday={false} component={VirtualTableRowCell} /> ); @@ -224,6 +226,7 @@ class DiscoverMovieRow extends Component { key={name} className={styles[name]} date={digitalRelease} + timeForToday={false} component={VirtualTableRowCell} /> ); diff --git a/frontend/src/Movie/Index/Table/MovieIndexRow.tsx b/frontend/src/Movie/Index/Table/MovieIndexRow.tsx index 620da1290..7863766c8 100644 --- a/frontend/src/Movie/Index/Table/MovieIndexRow.tsx +++ b/frontend/src/Movie/Index/Table/MovieIndexRow.tsx @@ -248,6 +248,7 @@ function MovieIndexRow(props: MovieIndexRowProps) { key={name} className={styles[name]} date={inCinemas} + timeForToday={false} component={VirtualTableRowCell} /> ); @@ -261,6 +262,7 @@ function MovieIndexRow(props: MovieIndexRowProps) { key={name} className={styles[name]} date={digitalRelease} + timeForToday={false} component={VirtualTableRowCell} /> ); @@ -274,6 +276,7 @@ function MovieIndexRow(props: MovieIndexRowProps) { key={name} className={styles[name]} date={physicalRelease} + timeForToday={false} component={VirtualTableRowCell} /> ); @@ -287,6 +290,7 @@ function MovieIndexRow(props: MovieIndexRowProps) { key={name} className={styles[name]} date={releaseDate} + timeForToday={false} component={VirtualTableRowCell} /> ); diff --git a/frontend/src/Wanted/CutoffUnmet/CutoffUnmetRow.js b/frontend/src/Wanted/CutoffUnmet/CutoffUnmetRow.js index 91de31337..88b6644de 100644 --- a/frontend/src/Wanted/CutoffUnmet/CutoffUnmetRow.js +++ b/frontend/src/Wanted/CutoffUnmet/CutoffUnmetRow.js @@ -70,6 +70,7 @@ function CutoffUnmetRow(props) { key={name} className={styles[name]} date={inCinemas} + timeForToday={false} /> ); } @@ -80,6 +81,7 @@ function CutoffUnmetRow(props) { key={name} className={styles[name]} date={digitalRelease} + timeForToday={false} /> ); } @@ -90,6 +92,7 @@ function CutoffUnmetRow(props) { key={name} className={styles[name]} date={physicalRelease} + timeForToday={false} /> ); } diff --git a/frontend/src/Wanted/Missing/MissingRow.js b/frontend/src/Wanted/Missing/MissingRow.js index ac37eabf9..8fc057628 100644 --- a/frontend/src/Wanted/Missing/MissingRow.js +++ b/frontend/src/Wanted/Missing/MissingRow.js @@ -73,6 +73,7 @@ function MissingRow(props) { key={name} className={styles[name]} date={inCinemas} + timeForToday={false} /> ); } @@ -83,6 +84,7 @@ function MissingRow(props) { key={name} className={styles[name]} date={digitalRelease} + timeForToday={false} /> ); } @@ -93,6 +95,7 @@ function MissingRow(props) { key={name} className={styles[name]} date={physicalRelease} + timeForToday={false} /> ); }