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 request: "last run" field in departures API #26

Open
Nate-Wessel opened this issue Jun 21, 2015 · 0 comments
Open

Feature request: "last run" field in departures API #26

Nate-Wessel opened this issue Jun 21, 2015 · 0 comments

Comments

@Nate-Wessel
Copy link

Of course, this could cause problems if this is used for other systems that operate around the clock.

Basically, we would need to select the trip with the MAX(arrival_time::interval) GROUP BY route_id, service_id (potentially, you could also throw headsign into the group by clause which would cause some help and confusion for routes like the 43 with many parts)

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

1 participant