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