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

Feature req: queries across multiple dates #98

Open
giacecco opened this issue Mar 15, 2016 · 2 comments
Open

Feature req: queries across multiple dates #98

giacecco opened this issue Mar 15, 2016 · 2 comments

Comments

@giacecco
Copy link

E.g. https://goingunderground.herokuapp.com/signals/train-speed/2016-02-01T23:59:00+00:00/2016-02-02T00:01:00+00:00.json gives an internal server error. The human version hangs.

When there is no data I get a valid json with no data.

@pezholio
Copy link
Contributor

Ah, that's expected behaviour. You can't currently query across days, as data for each day is stored in a separate index. This should fail in a slightly friendlier way though.

@giacecco giacecco changed the title Queries across two dates fail? Feature req: queries across multiple dates Mar 15, 2016
@giacecco
Copy link
Author

Ok not a big deal. There may be trains that travel at midnight though. The code we wrote is just for our own use or we have some commitment to share it back / publish it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants