mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 17:39:49 +00:00
made destinations in departures clickable
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@72 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
48dff200a1
commit
f0cffe63f7
6 changed files with 38 additions and 32 deletions
|
@ -430,7 +430,7 @@ public class SbbProvider implements NetworkProvider
|
|||
if (ParserUtils.timeDiff(parsed.getTime(), currentTime) < -PARSER_DAY_ROLLOVER_THRESHOLD_MS)
|
||||
parsed.add(Calendar.DAY_OF_MONTH, 1);
|
||||
|
||||
return new Departure(parsed.getTime(), line, line != null ? LINES.get(line.charAt(0)) : null, destination);
|
||||
return new Departure(parsed.getTime(), line, line != null ? LINES.get(line.charAt(0)) : null, 0, destination);
|
||||
}
|
||||
|
||||
private static final Pattern P_NORMALIZE_LINE = Pattern.compile("([A-Za-zÄÖÜäöüß]+)[\\s-]*(.*)");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue