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

pull/46/head
Clement G 4 years ago
parent c0b2770089
commit f59628b0c0

@ -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