#42 Different end date time when creating/editing elections
Closed: Fixed None Opened 9 years ago by jreznik.

Create elections, save and observe date/time for end date.

Start date: 2014-11-19 00:00:00[[BR]]
End date: 2014-11-21 '''23:59:59'''

Then click Edit election, no need to change anything and click Save Changes and you'll get different end date time.

Start date: 2014-11-19 00:00:00[[BR]]
End date: 2014-11-21 '''00:00:00'''

What's the correct date? After the latest change to 00:00:00 for everything, I expect the second one is correct. There are Council elections going on, would be nice to check it before the end.

Test elections URL: https://admin.stg.fedoraproject.org/voting/admin/alias-test-ele/

Version: 2.3


Hm, that's annoying.

The bug is fixed in git and has been since July, but I have not made a new version with all the changes we did (such as the text output ready to be copy/paste into an email) and now that there is an election in progress, it's not the right time to do it either :(

I had waited after the last election with in mind the idea that we might have more changes to fix and now the fixes aren't there :-s

Ok, thanks. Could you please check the correct date for current Council elections? It's enough for me to be sure I set it up correctly (should end 25th 23:59:59 or 26th 00:00:00). See http://fedoraproject.org/wiki/Elections

Thanks!

Ok so after checking the code further, since 071feb3 ( https://github.com/fedora-infra/elections/commit/071feb3 ) we only rely on the date to determine the status of an election, so the time in the DB does not matter at all in fact.

We should be good :)

Ok 2.4 has been released and is in staging for the moment, so we can test there.

I already found a couple of bugs, so there should be a 2.4.1 shortly with the changes present in: https://github.com/fedora-infra/elections/pull/38

Login to comment on this ticket.

Metadata