Description
If the poll is deployed but not inited, the initTime would be null, so to display this round data, we would rely on the metadata file. However, once the poll is inited, the initTime would be the inited date, then we should change both the votingStartsAt and votingEndsAt to match the initTime and initTime + duration.
[x] update the above description
[x] update how metadata upload script get the date information (should include the timezone)
Description If the poll is deployed but not inited, the
initTime
would benull
, so to display this round data, we would rely on the metadata file. However, once the poll is inited, theinitTime
would be the inited date, then we should change both thevotingStartsAt
andvotingEndsAt
to match theinitTime
andinitTime + duration
.