|
|
|
@ -29,26 +29,25 @@ function MovieReleaseDates(props) {
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
!!physicalRelease &&
|
|
|
|
|
!!digitalRelease &&
|
|
|
|
|
<div >
|
|
|
|
|
<span className={styles.dateIcon}>
|
|
|
|
|
<Icon
|
|
|
|
|
name={icons.DISC}
|
|
|
|
|
name={icons.MOVIE_FILE}
|
|
|
|
|
/>
|
|
|
|
|
</span>
|
|
|
|
|
{getRelativeDate(physicalRelease, shortDateFormat, showRelativeDates, { timeFormat, timeForToday: false })}
|
|
|
|
|
{getRelativeDate(digitalRelease, shortDateFormat, showRelativeDates, { timeFormat, timeForToday: false })}
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
!!digitalRelease &&
|
|
|
|
|
!!physicalRelease &&
|
|
|
|
|
<div >
|
|
|
|
|
<span className={styles.dateIcon}>
|
|
|
|
|
<Icon
|
|
|
|
|
name={icons.MOVIE_FILE}
|
|
|
|
|
name={icons.DISC}
|
|
|
|
|
/>
|
|
|
|
|
</span>
|
|
|
|
|
{getRelativeDate(digitalRelease, shortDateFormat, showRelativeDates, { timeFormat, timeForToday: false })}
|
|
|
|
|
{getRelativeDate(physicalRelease, shortDateFormat, showRelativeDates, { timeFormat, timeForToday: false })}
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|