Open erwinqxy opened 3 years ago
24 refers to the 24th hour from the start of the day. There are 24 hours in a day, and limiting END_HOUR
to 23 would mean the user is only able to set the time from 0000 to 2300, completely omitting the 24th hour of the day (from 11 pm to midnight). Hence our team decided to allow input from 0 to 24.
Team chose [response.Rejected
]
Reason for disagreement: I believe 2400 is the same as 0000. As such, 2400 shouldn't even be allowed in the first place.
For example if I were to book an hour slot, I will book 2300 - 0000. Here is a counterexample, if I were to accept your team's rationale, so how do u interpret 2400 - 0000?
For more info:
User guide indicates that the START_hour or END_hour is an integer between 0 and 24 inclusive, however, I don't think 24 is a valid hour.