fix: EalingCouncil/LondonBoroughEaling: Use collectionDate not collectionDateString#1886
fix: EalingCouncil/LondonBoroughEaling: Use collectionDate not collectionDateString#1886wjt wants to merge 1 commit into
Conversation
…tionDateString
These modules cannot parse the current data for my address, with the following error:
> Failed setup, will retry: Unexpected error: unconverted data remains:
> ,24/03/2026
(I do not know which of the two almost identical implementations I am using.)
Looking at the council website's response to the POST request, included below
after being pretty-printed with jq, the problem is that the garden waste bin has
the following value for collectionDateString:
"collectionDateString": "24/03/2026,24/03/2026",
But the code expects this to contain a single date.
Instead, use the collectionDate property, which contains a list of dates, and
take the first element. (The council website instead splits the
collectionDateString on comma.)
Resolves robbrad#1885
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughTwo Ealing Council implementations are updated to extract collection dates from the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip You can disable poems in the walkthrough.Disable the |
|
Merged into the combined March 2026 release PR #1898. Closing to reduce release noise. Thank you for the contribution! |

These modules cannot parse the current data for my address, with the following error:
(I do not know which of the two almost identical implementations I am using - #1884.)
Looking at the council website's response to the POST request, included below after being pretty-printed with jq, the problem is that the garden waste bin has the following value for collectionDateString:
But the code expects this to contain a single date.
Instead, use the collectionDate property, which contains a list of dates, and take the first element. (The council website instead splits the collectionDateString on comma.)
Resolves #1885
Summary by CodeRabbit