| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 18 hours | Add days-after helper | Matthew Fennell | |
| Currently, shuttlebot doesn't take the number of days before the booking into consideration, apart from not changing bookings on today's date. To help with fixing this, add days-after Given a base date and number of days, it will produce a consecutive list of days. Then, when searching for available bookings, we can use this list to ask "is the date I'm booking for in the list of days-after?" | |||
| 18 hours | Extract 10pm-adjusted-date to a function | Matthew Fennell | |
| This is useful in other functions as well, as it's essentially "better.org.uk's definition of the current date regarding what bookings are available". | |||
| 18 hours | Simplify score function | Matthew Fennell | |
| Every line is passing the booking separately for no reason. By putting it in the lambda, we can make each score read more fluently. | |||
| 28 hours | Initial commit | Matthew Fennell | |
