Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Nottingham City to pull only one date per bin type (#3353)
* Refactor Nottingham City to pull only one date per bin type Nottingham City API sometimes give multiple dates for bins, particularly just after collection date. Locally, it makes sense to only use the smallest of these dates as we want the NEXT collection only. * Simplify second if statement into min and update comment * Simplify checks to just filter out collecions further ahead than a year * Minimize net changes
- Loading branch information