feat(creat-election) : unlimited election are now limited to 10 years instead of 1 year

pull/73/head
Clement G 4 years ago
parent 39243b48e3
commit 3e550e6d41

@ -312,7 +312,7 @@ class CreateElection extends Component {
start = new Date(
now.getTime() - minutes(now) - seconds(now) - ms(now)
);
finish=new Date(start.getTime() + 1 * 365 * 24 * 3600 * 1000);
finish=new Date(start.getTime() + 10 * 365 * 24 * 3600 * 1000);
}
const { t } = this.props;

Loading…
Cancel
Save