remove dos lineendings
This commit is contained in:
parent
c4c3a3ab45
commit
1ff5df5a5d
|
@ -6,14 +6,14 @@ import json
|
|||
proc parseStopoverPart(common: CommonData, mode: string, h: HafasStopParams): StopoverPart =
|
||||
|
||||
if (mode != "arrival"):
|
||||
result.plannedPlatform = h.dPlatfS
|
||||
result.prognosedPlatform = h.dPlatfR
|
||||
result.plannedTime = parseDate(common, h.dTimeS, h.dTZOffset)
|
||||
result.prognosedTime = parseDate(common, h.dTimeR, h.dTZOffset)
|
||||
result.plannedPlatform = h.dPlatfS
|
||||
result.prognosedPlatform = h.dPlatfR
|
||||
result.plannedTime = parseDate(common, h.dTimeS, h.dTZOffset)
|
||||
result.prognosedTime = parseDate(common, h.dTimeR, h.dTZOffset)
|
||||
else:
|
||||
result.plannedPlatform = h.aPlatfS
|
||||
result.prognosedPlatform = h.aPlatfR
|
||||
result.plannedTime = parseDate(common, h.aTimeS, h.aTZOffset)
|
||||
result.plannedPlatform = h.aPlatfS
|
||||
result.prognosedPlatform = h.aPlatfR
|
||||
result.plannedTime = parseDate(common, h.aTimeS, h.aTZOffset)
|
||||
result.prognosedTime = parseDate(common, h.aTimeR, h.aTZOffset)
|
||||
|
||||
proc mkParseStopover*(common: CommonData): proc =
|
||||
|
|
Loading…
Reference in a new issue