Skip to content

Commit

Permalink
Merge pull request #1209 from poanetwork/issue#1195
Browse files Browse the repository at this point in the history
(Bug) Minted crowdsale: owner able to finalize before start
  • Loading branch information
fernandomg committed Nov 5, 2018
2 parents 284af7f + 899c110 commit 8301404
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,7 @@ export const clearStorage = props => {
}

export const convertDateToLocalTimezoneInUnix = dateToConvert => {
const offset = moment().utcOffset()
const dateConvertUnix = moment(dateToConvert)
.add(offset, 'minutes')
.local()
.unix()
return dateConvertUnix * 1000
Expand Down

0 comments on commit 8301404

Please sign in to comment.