Closed mrwilson closed 3 years ago
This PR adds the register to vote deadline to the library.
This required some refactoring - the base class, Election, needed knowledge of the country it is being run in so as to calculate the correct date.
Election
The new registration_deadline method is on the base class else we would be duplicating exactly the same method in all classes.
registration_deadline
This PR resolves https://github.com/DemocracyClub/uk-election-timetables/issues/4
:+1: This looks good - confirmed with the EC that the 12 days rule is true!
This PR adds the register to vote deadline to the library.
This required some refactoring - the base class,
Election
, needed knowledge of the country it is being run in so as to calculate the correct date.The new
registration_deadline
method is on the base class else we would be duplicating exactly the same method in all classes.This PR resolves https://github.com/DemocracyClub/uk-election-timetables/issues/4