elekto-io/elekto

Election should say "ended" if you visit it after it ends

Opened this issue · 3 comments

The election is marked "completed", so the tenses of the start/end time listed at the bottom should be "started" and "ended"

Screen Shot 2022-10-17 at 1 36 48 PM

I don't follow?

@jberkus Just stumbled over this. I think what OP meant was that in the screenshot, the last line reads:

Voting starts at 2022-10-03 UTC and ends at 2022-10-16 11:59:59 UTC.

However, the screenshot was clearly made after the election was over (as it says "Completed" below the heading). So "starts at" and "ends at" are confusing. So for completed elections, the text should change as follows:

Voting startsstarted at 2022-10-03 UTC and endsended at 2022-10-16 11:59:59 UTC.

Makes sense. That seems like a good small change for a new contributor, so reopening.