New: Use absolute timestamps for movie history

pull/9964/head
Bogdan 7 months ago
parent 0d0575f3a9
commit db1fee8d8a

@ -15,7 +15,7 @@ function MovieHistoryModal(props) {
<Modal <Modal
isOpen={isOpen} isOpen={isOpen}
onModalClose={onModalClose} onModalClose={onModalClose}
size={sizes.EXTRA_LARGE} size={sizes.EXTRA_EXTRA_LARGE}
> >
<MovieHistoryModalContentConnector <MovieHistoryModalContentConnector
{...otherProps} {...otherProps}

@ -4,13 +4,13 @@ import HistoryDetailsModal from 'Activity/History/Details/HistoryDetailsModal';
import HistoryEventTypeCell from 'Activity/History/HistoryEventTypeCell'; import HistoryEventTypeCell from 'Activity/History/HistoryEventTypeCell';
import IconButton from 'Components/Link/IconButton'; import IconButton from 'Components/Link/IconButton';
import ConfirmModal from 'Components/Modal/ConfirmModal'; import ConfirmModal from 'Components/Modal/ConfirmModal';
import RelativeDateCellConnector from 'Components/Table/Cells/RelativeDateCellConnector';
import TableRowCell from 'Components/Table/Cells/TableRowCell'; import TableRowCell from 'Components/Table/Cells/TableRowCell';
import TableRow from 'Components/Table/TableRow'; import TableRow from 'Components/Table/TableRow';
import { icons, kinds } from 'Helpers/Props'; import { icons, kinds } from 'Helpers/Props';
import MovieFormats from 'Movie/MovieFormats'; import MovieFormats from 'Movie/MovieFormats';
import MovieLanguage from 'Movie/MovieLanguage'; import MovieLanguage from 'Movie/MovieLanguage';
import MovieQuality from 'Movie/MovieQuality'; import MovieQuality from 'Movie/MovieQuality';
import formatDateTime from 'Utilities/Date/formatDateTime';
import formatCustomFormatScore from 'Utilities/Number/formatCustomFormatScore'; import formatCustomFormatScore from 'Utilities/Number/formatCustomFormatScore';
import translate from 'Utilities/String/translate'; import translate from 'Utilities/String/translate';
import styles from './MovieHistoryRow.css'; import styles from './MovieHistoryRow.css';
@ -109,9 +109,9 @@ class MovieHistoryRow extends Component {
{formatCustomFormatScore(customFormatScore, customFormats.length)} {formatCustomFormatScore(customFormatScore, customFormats.length)}
</TableRowCell> </TableRowCell>
<RelativeDateCellConnector <TableRowCell>
date={date} {formatDateTime(date, shortDateFormat, timeFormat, { includeSeconds: true })}
/> </TableRowCell>
<TableRowCell className={styles.actions}> <TableRowCell className={styles.actions}>
<IconButton <IconButton

Loading…
Cancel
Save