hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
67 stars 44 forks source link

Incorrect Voting Period Countdown #4974

Closed mhagel closed 7 months ago

mhagel commented 1 year ago

Describe the bug

[Cosmos] Incorrect time left on ProposalCard and in View_Proposal

To Reproduce

Screenshot 2023-09-06 at 11 22 52 AM

Expected behavior

Accurate time left on ProposalCard and in View_Proposal

Additional context

mhagel commented 1 year ago

This only seems to occur in our sandbox devnet communities.

I have compared kyve and osmosis to other proposal sites (keplr dashboard and mintscan), and their dates agree with ours.

I'm not sure why our devnets are returning incorrect timestamps. Looking at the live logs, I can see that they are running with the correct UTC time. So this is a bit mysterious. But I have been able to confirm that our code is calculating correctly based on these timestamps.

It would be nice to figure this out for testing purposes, but we may be able to de-prioritize this for now.

mhagel commented 11 months ago

setting to unplanned, as it is not user-affecting. This only occurs due to a timezone confusion on our devnet instances, I believe.