public-transport/hafas-client
View on GitHubdepartures: throw if duration is above supported maximum
Open
#14 opened on Jan 19, 2018
add testsbreakingenhancementhelp wanted
Repository metrics
- Stars
- (353 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Apparently, the DB API does not support querying departures for 1440 min (1 day) at once.
Throw if the passed value is above to prevent implementations from implicitly relying on this gotcha.
@juliuste do you know the limit for ÖBB?