mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 08:49:58 +00:00
Fix departures for Stockholm.
This commit is contained in:
parent
d63dc843eb
commit
e1233210dd
3 changed files with 6 additions and 3 deletions
|
@ -662,7 +662,9 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
|||
// TODO is_reachable
|
||||
// TODO disableTrainInfo
|
||||
|
||||
if (depStation == null && !"cancel".equals(eDelay))
|
||||
final boolean isEquivStation = canDoEquivs && depStation != null;
|
||||
|
||||
if (!isEquivStation && !"cancel".equals(eDelay))
|
||||
{
|
||||
final Calendar plannedTime = new GregorianCalendar(timeZone());
|
||||
plannedTime.clear();
|
||||
|
|
|
@ -51,6 +51,7 @@ public class StockholmProvider extends AbstractHafasProvider
|
|||
super(API_BASE + "stboard.exe/sn", API_BASE + "ajax-getstop.exe/sny", API_BASE + "query.exe/sn", 7);
|
||||
|
||||
setStyles(STYLES);
|
||||
setCanDoEquivs(false);
|
||||
}
|
||||
|
||||
public NetworkId id()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue