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

Scheduled departures #30

Merged
merged 4 commits into from Oct 1, 2015
Merged

Scheduled departures #30

merged 4 commits into from Oct 1, 2015

Conversation

mguterl
Copy link
Contributor

@mguterl mguterl commented Oct 1, 2015

mguterl and others added 3 commits September 30, 2015 13:37
This allows consumers of the API to specify how many hours in the future
to look for stop times. We prefer using offset instead of allowing the 
client to pass in raw end time values so that the server remains the 
source of truth for time. There are cases where the client may have the 
wrong time information and we still want to provide accurate data to 
them.
time + end_time_offset.hour
end

DEFAULT_END_TIME_OFFSET = 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not totally clear from param name or constant that it's expected to be hours (I think)

geofflane added a commit that referenced this pull request Oct 1, 2015
@geofflane geofflane merged commit 83f7560 into master Oct 1, 2015
@geofflane geofflane deleted the scheduled-departures branch October 1, 2015 18:50
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

Successfully merging this pull request may close these issues.

None yet

2 participants