ctucx.git: oeffi-web

[nimlang] oeffisearch fork that works without javascript

commit c8221c43a9c4ec00544ea7b03549f290bce7c0cf
parent 19dc21f49fa6e16df1048d9e3c71ef856ff11640
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 21 Jan 2021 23:23:08 +0100

fix typo
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/formaters/renderJourney.nim b/src/formaters/renderJourney.nim
@@ -146,7 +146,7 @@ proc renderJourney*(data: CacheObject, id: string): JsonNode =
 
             arrivalDelay &= $delay
 
-          if stopArrivalTime > 0:
+          if stopDepartureTime > 0:
             departureTimeFormated = formatTime(stopDepartureTime, "")
           else:
             departureTimeFormated = "-"