Check that queries have time in range before adding to query list#264
Merged
aharpalaniTO merged 1 commit intodeployfrom Mar 31, 2026
Merged
Check that queries have time in range before adding to query list#264aharpalaniTO merged 1 commit intodeployfrom
aharpalaniTO merged 1 commit intodeployfrom
Conversation
aharpalaniTO
approved these changes
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #261
Before adding a newly constructed travel time query to the list to be queried, this checks that some time is in range for that query.
This means you can set up an impossible combination like the following and it just won't register. In this case the DateRange covers just one weekend but the day of week selection is weekdays only.
Toggling on one of the weekend days allows this to be submitted.
This will also fix the problem as discovered in #259 where dates can be excluded.