OneGov / onegov.town

OneGov web application for small towns.
1 stars 2 forks source link

The libres reservation-length check fails for whole-day reservations on DST change days #244

Closed href closed 7 years ago

href commented 7 years ago

Allocations created on a day where DST changes (October 30th for example) are 25 hours long. This is fine, but the reservation check doesn't take that into effect.

This is a libres bug. Libres should probably not return a ReservationTooLong error in this case.

The whole_day check seems to be based on this as well, so we need a couple of test cases to really squash this bug.