From fae9ae585acacff53b807595a8495d8e70a4668c Mon Sep 17 00:00:00 2001 From: Vadim Arasev Date: Fri, 21 Sep 2018 10:51:23 +0300 Subject: [PATCH] (Update) Add some text labels for clear displaying of time --- src/components/BallotCard.jsx | 2 +- src/components/BallotEmissionFundsMetadata.jsx | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/BallotCard.jsx b/src/components/BallotCard.jsx index d602cd1..e5819ea 100644 --- a/src/components/BallotCard.jsx +++ b/src/components/BallotCard.jsx @@ -757,7 +757,7 @@ export class BallotCard extends React.Component { {children}
-

Ballot Time

+

Ballot Time (UTC)

{this.startTime}

diff --git a/src/components/BallotEmissionFundsMetadata.jsx b/src/components/BallotEmissionFundsMetadata.jsx index f75229c..2f6fb3e 100644 --- a/src/components/BallotEmissionFundsMetadata.jsx +++ b/src/components/BallotEmissionFundsMetadata.jsx @@ -29,7 +29,7 @@ export class BallotEmissionFundsMetadata extends React.Component { @action('Get beginDateTime and endDateTime') getDateTimeLimits = async () => { const { votingToManageEmissionFunds } = this.props.contractsStore - const dateTimeFormat = 'MM/DD/YYYY HH:mm' + const dateTimeFormat = 'MM/DD/YYYY h:mm A' this.beginDateTime = '...loading date...' this.endDateTime = '...loading date...' @@ -69,7 +69,8 @@ export class BallotEmissionFundsMetadata extends React.Component { if (this.noActiveBallotExists === true) { note = (

- The ballot can be created starting from {this.beginDateTime} and will end on {this.endDateTime}. + The ballot can be created starting from {this.beginDateTime} (local time) and will end on{' '} + {this.endDateTime} (local time).

) } else if (this.noActiveBallotExists !== true) {