Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work in progress on adapting to new HTML on bus company site. #9

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

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.
1 participant