Increase precision in submission preview

This commit is contained in:
Ajay Ramachandran
2020-03-11 19:48:51 -04:00
parent 037d1089a3
commit 37662138df
2 changed files with 10 additions and 6 deletions

View File

@@ -40,8 +40,8 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
<div style={style}>
<div id={"sponsorTimesContainer" + this.props.index + this.props.idSuffix}
className="sponsorTimeDisplay">
{utils.getFormattedTime(this.props.contentContainer().sponsorTimesSubmitting[this.props.index][0])
+ " to " + utils.getFormattedTime(this.props.contentContainer().sponsorTimesSubmitting[this.props.index][1])}
{utils.getFormattedTime(this.props.contentContainer().sponsorTimesSubmitting[this.props.index][0], true)
+ " to " + utils.getFormattedTime(this.props.contentContainer().sponsorTimesSubmitting[this.props.index][1], true)}
</div>
<span id={"sponsorTimeDeleteButton" + this.props.index + this.props.idSuffix}