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