Skip to content

Commit

Permalink
Fix: Reduce booking period to 20 days
Browse files Browse the repository at this point in the history
The maximum date a club can book a room is reduced to 20 days from 1 month.

Closes #48
  • Loading branch information
bhawesh96 committed Jan 1, 2019
1 parent 55cbe57 commit ae116a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class HorizontalLinearStepper extends React.Component {
this.handlePrev = this.handlePrev.bind(this)

const maxDate = new Date()
maxDate.setMonth(maxDate.getMonth() + 1)
maxDate.setDate(maxDate.getDate() + 20)
maxDate.setHours(0, 0, 0, 0)

this.state = {
Expand Down

0 comments on commit ae116a9

Please sign in to comment.