Skip to content

Conversation

@simonprickett
Copy link
Owner

Updates the code to deal with recent changes on the website, closes #8

@simonprickett simonprickett added the bug Something isn't working label Jan 31, 2024
@simonprickett simonprickett self-assigned this Jan 31, 2024
@simonprickett
Copy link
Owner Author

Work to do here... get the value of expectedMins calculated correctly for departures that aren't real time. Needs some relatively minor refactor of the existing code.

@simonprickett
Copy link
Owner Author

simonprickett commented Jan 31, 2024

Code changes are all done, needs a little testing around 11:30pm to make sure buses expected in the early hours of the following day have correct expectedMins values.

@simonprickett
Copy link
Owner Author

This has an issue when run in the Cloudflare Workers runtime... I suspect that use of Intl.DateTimeFormat providing an options object as the 2nd argument is the problem. Need to experiment with this in the Workers runtime and see if this is the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Service has stopped working due to changes on origin website.

2 participants