From 37662138df225cc07ecedf590f4eec0d4bc7b534 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Wed, 11 Mar 2020 19:48:51 -0400 Subject: [PATCH] Increase precision in submission preview --- src/components/SponsorTimeEditComponent.tsx | 4 ++-- src/utils.ts | 12 ++++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/components/SponsorTimeEditComponent.tsx b/src/components/SponsorTimeEditComponent.tsx index a958aa16..bed005b9 100644 --- a/src/components/SponsorTimeEditComponent.tsx +++ b/src/components/SponsorTimeEditComponent.tsx @@ -40,8 +40,8 @@ class SponsorTimeEditComponent extends React.Component
- {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)}