Browse Source

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

master
Clement G 2 years ago
parent
commit
3e550e6d41
  1. 2
      src/components/views/CreateElection.jsx

2
src/components/views/CreateElection.jsx

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