Bug: Finish Election dates can be before Start Election dates
Describe the bug :
The app allows elections to be created with finish dates before start dates, also it allows an election to be created in the past.
Another effect of this is the counter for finish elections remains unchanged but the election shows up in finished elections
Expected Behaviour :
- finish date > start date while creating an election
- start date >= now
Steps to reproduce it :
- Open app
- Create an election
- Select a start date, and finish date before the start date
Screenshots of the issue:
Finish Counter | Finish Elections Activity, Count mismatch | End Date before Start Date |
---|---|---|
Smartphone Info :
Device | Xiaomi Mi A1 |
Android Version | Android 9 Pie |
Would you like to work on the issue?
Yes
Edited by Kunal Raghav