Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Departures aren't shown #2752

Open
klukas144 opened this issue Jul 9, 2024 · 5 comments
Open

Departures aren't shown #2752

klukas144 opened this issue Jul 9, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@klukas144
Copy link

klukas144 commented Jul 9, 2024

Describe the bug

The departures from my home stop between 4:15 AM and 7:00 AM (until 9:25 on Saturdays and 9:30 on Sundays) aren't shown in Träwelling (not even if you try to do this within this time while being on the tram you want to check in). The DB Navigator is indeed showing the departures (example for Monday, 15 July).
Screenshot_20240709-203757
Screenshot_20240709-203353~2

Steps to reproduce

Go to Träwelling
Search for departures from Karl-Wilhelm-Platz, Karlsruhe on a random work day between 5 and 7.
See "no departures found"

Browser console logs

Browser

Chrome

@klukas144 klukas144 added the bug Something isn't working label Jul 9, 2024
@pascalwittler
Copy link
Contributor

pascalwittler commented Jul 9, 2024

I can confirm this behavior. The JSON API requests for the mentioned times result in empty departure data:

GET https://traewelling.de/api/v1/station/8937/departures?when=2024-07-24T04:45:00.000000Z&travelType=
Response
{
  "disclaimer": {
    "message": "APIv1 is not officially released for use and is also not fully documented. Use at your own risk. Data fields may change at any time without notice.",
    "documentation": "https:\\/\\/traewelling.de\\/api\\/documentation",
    "changelog": "https:\\/\\/github.com\\/Traewelling\\/traewelling\\/blob\\/develop\\/API_CHANGELOG.md"
  },
  "data": [],
  "meta": {
    "station": {
      "id": 8937,
      "name": "Karl-Wilhelm-Platz, Karlsruhe",
      "latitude": 49.011256,
      "longitude": 8.422937,
      "ibnr": 721387,
      "rilIdentifier": null
    },
    "times": {
      "now": "2024-07-24T04:45:00.000000Z",
      "prev": "2024-07-24T04:30:00.000000Z",
      "next": "2024-07-24T05:00:00.000000Z"
    }
  }
}
GET https://traewelling.de/api/v1/station/8937/departures?when=2024-07-24T05:00:00.000000Z&travelType=
Response
{
  "disclaimer": {
    "message": "APIv1 is not officially released for use and is also not fully documented. Use at your own risk. Data fields may change at any time without notice.",
    "documentation": "https:\\/\\/traewelling.de\\/api\\/documentation",
    "changelog": "https:\\/\\/github.com\\/Traewelling\\/traewelling\\/blob\\/develop\\/API_CHANGELOG.md"
  },
  "data": [
    {
      "tripId": "2|#VN#1#ST#1720464615#PI#0#ZI#490328#TA#6#DA#240724#1S#722635#1T#646#LS#373611#LT#726#PU#80#RT#1#CA#STR#ZE#4#ZB#STR    4#PC#8#FR#722635#FT#646#TO#373611#TT#726#",
      "stop": {
        "type": "station",
        "id": "721387",
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "location": {
          "type": "location",
          "id": "721387",
          "latitude": 49.011256,
          "longitude": 8.422937
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": false,
          "bus": false,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": false
        }
      },
      "when": "2024-07-24T07:00:00+02:00",
      "plannedWhen": "2024-07-24T07:00:00+02:00",
      "delay": null,
      "platform": null,
      "plannedPlatform": null,
      "prognosisType": null,
      "direction": "Oberreut Badeniaplatz, Karlsruhe",
      "provenance": null,
      "line": {
        "type": "line",
        "id": "8-kvv021-4",
        "fahrtNr": "0",
        "name": "STR 4",
        "public": true,
        "adminCode": "kvv021",
        "productName": "STR",
        "mode": "train",
        "product": "tram",
        "operator": {
          "type": "operator",
          "id": "nahreisezug",
          "name": "Nahreisezug"
        }
      },
      "remarks": [],
      "origin": null,
      "destination": {
        "type": "stop",
        "id": "373611",
        "name": "Oberreut Badeniaplatz, Karlsruhe",
        "location": {
          "type": "location",
          "id": "373611",
          "latitude": 48.982284,
          "longitude": 8.368283
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": false,
          "bus": true,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": false
        },
        "station": {
          "type": "station",
          "id": "723877",
          "name": "Oberreut Badeniaplatz, Karlsruhe",
          "location": {
            "type": "location",
            "id": "723877",
            "latitude": 48.981943,
            "longitude": 8.368211
          },
          "products": {
            "nationalExpress": false,
            "national": false,
            "regionalExp": false,
            "regional": false,
            "suburban": false,
            "bus": true,
            "ferry": false,
            "subway": false,
            "tram": true,
            "taxi": false
          }
        }
      },
      "station": {
        "id": 8937,
        "ibnr": 721387,
        "wikidata_id": null,
        "ifopt_a": "de",
        "ifopt_b": 8212,
        "ifopt_c": 401,
        "ifopt_d": null,
        "ifopt_e": null,
        "rilIdentifier": null,
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "latitude": 49.011256,
        "longitude": 8.422937,
        "ifopt": "de:8212:401"
      }
    },
    {
      "tripId": "2|#VN#1#ST#1720464615#PI#0#ZI#490327#TA#8#DA#240724#1S#722277#1T#657#LS#363306#LT#745#PU#80#RT#1#CA#STR#ZE#3#ZB#STR    3#PC#8#FR#722277#FT#657#TO#363306#TT#745#",
      "stop": {
        "type": "station",
        "id": "721387",
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "location": {
          "type": "location",
          "id": "721387",
          "latitude": 49.011256,
          "longitude": 8.422937
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": false,
          "bus": false,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": false
        }
      },
      "when": "2024-07-24T07:03:00+02:00",
      "plannedWhen": "2024-07-24T07:03:00+02:00",
      "delay": null,
      "platform": null,
      "plannedPlatform": null,
      "prognosisType": null,
      "direction": "Daxlanden Waidweg, Karlsruhe",
      "provenance": null,
      "line": {
        "type": "line",
        "id": "8-kvv021-3",
        "fahrtNr": "0",
        "name": "STR 3",
        "public": true,
        "adminCode": "kvv021",
        "productName": "STR",
        "mode": "train",
        "product": "tram",
        "operator": {
          "type": "operator",
          "id": "nahreisezug",
          "name": "Nahreisezug"
        }
      },
      "remarks": [],
      "origin": null,
      "destination": {
        "type": "stop",
        "id": "363306",
        "name": "Daxlanden Waidweg, Karlsruhe",
        "location": {
          "type": "location",
          "id": "363306",
          "latitude": 49.004317,
          "longitude": 8.322366
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": true,
          "bus": false,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": true
        },
        "station": {
          "type": "station",
          "id": "720577",
          "name": "Daxlanden Waidweg, Karlsruhe",
          "location": {
            "type": "location",
            "id": "720577",
            "latitude": 49.004362,
            "longitude": 8.322321
          },
          "products": {
            "nationalExpress": false,
            "national": false,
            "regionalExp": false,
            "regional": false,
            "suburban": true,
            "bus": false,
            "ferry": false,
            "subway": false,
            "tram": true,
            "taxi": true
          }
        }
      },
      "station": {
        "id": 8937,
        "ibnr": 721387,
        "wikidata_id": null,
        "ifopt_a": "de",
        "ifopt_b": 8212,
        "ifopt_c": 401,
        "ifopt_d": null,
        "ifopt_e": null,
        "rilIdentifier": null,
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "latitude": 49.011256,
        "longitude": 8.422937,
        "ifopt": "de:8212:401"
      }
    },
    {
      "tripId": "2|#VN#1#ST#1720464615#PI#0#ZI#490623#TA#3#DA#240724#1S#363306#1T#625#LS#722277#LT#710#PU#80#RT#1#CA#STR#ZE#3#ZB#STR    3#PC#8#FR#363306#FT#625#TO#722277#TT#710#",
      "stop": {
        "type": "stop",
        "id": "370401",
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "location": {
          "type": "location",
          "id": "370401",
          "latitude": 49.011373,
          "longitude": 8.423432
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": false,
          "bus": false,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": false
        },
        "station": {
          "type": "station",
          "id": "721387",
          "name": "Karl-Wilhelm-Platz, Karlsruhe",
          "location": {
            "type": "location",
            "id": "721387",
            "latitude": 49.011256,
            "longitude": 8.422937
          },
          "products": {
            "nationalExpress": false,
            "national": false,
            "regionalExp": false,
            "regional": false,
            "suburban": false,
            "bus": false,
            "ferry": false,
            "subway": false,
            "tram": true,
            "taxi": false
          }
        }
      },
      "when": "2024-07-24T07:04:00+02:00",
      "plannedWhen": "2024-07-24T07:04:00+02:00",
      "delay": null,
      "platform": null,
      "plannedPlatform": null,
      "prognosisType": null,
      "direction": "Rintheim, Karlsruhe",
      "provenance": null,
      "line": {
        "type": "line",
        "id": "8-kvv021-3",
        "fahrtNr": "0",
        "name": "STR 3",
        "public": true,
        "adminCode": "kvv021",
        "productName": "STR",
        "mode": "train",
        "product": "tram",
        "operator": {
          "type": "operator",
          "id": "nahreisezug",
          "name": "Nahreisezug"
        }
      },
      "remarks": [],
      "origin": null,
      "destination": {
        "type": "stop",
        "id": "722277",
        "name": "Rintheim, Karlsruhe",
        "location": {
          "type": "location",
          "id": "722277",
          "latitude": 49.016281,
          "longitude": 8.443721
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": true,
          "bus": false,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": false
        }
      },
      "station": {
        "id": 8958,
        "ibnr": 370401,
        "wikidata_id": null,
        "ifopt_a": "de",
        "ifopt_b": 8212,
        "ifopt_c": 401,
        "ifopt_d": null,
        "ifopt_e": null,
        "rilIdentifier": null,
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "latitude": 49.011373,
        "longitude": 8.423432,
        "ifopt": "de:8212:401"
      }
    },
    {
      "tripId": "2|#VN#1#ST#1720464615#PI#0#ZI#490422#TA#2#DA#240724#1S#373611#1T#642#LS#722635#LT#722#PU#80#RT#1#CA#STR#ZE#4#ZB#STR    4#PC#8#FR#373611#FT#642#TO#722635#TT#722#",
      "stop": {
        "type": "stop",
        "id": "370401",
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "location": {
          "type": "location",
          "id": "370401",
          "latitude": 49.011373,
          "longitude": 8.423432
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": false,
          "bus": false,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": false
        },
        "station": {
          "type": "station",
          "id": "721387",
          "name": "Karl-Wilhelm-Platz, Karlsruhe",
          "location": {
            "type": "location",
            "id": "721387",
            "latitude": 49.011256,
            "longitude": 8.422937
          },
          "products": {
            "nationalExpress": false,
            "national": false,
            "regionalExp": false,
            "regional": false,
            "suburban": false,
            "bus": false,
            "ferry": false,
            "subway": false,
            "tram": true,
            "taxi": false
          }
        }
      },
      "when": "2024-07-24T07:07:00+02:00",
      "plannedWhen": "2024-07-24T07:07:00+02:00",
      "delay": null,
      "platform": null,
      "plannedPlatform": null,
      "prognosisType": null,
      "direction": "Waldstadt Europ\\u00e4ische Schule, Karlsruhe",
      "provenance": null,
      "line": {
        "type": "line",
        "id": "8-kvv021-4",
        "fahrtNr": "0",
        "name": "STR 4",
        "public": true,
        "adminCode": "kvv021",
        "productName": "STR",
        "mode": "train",
        "product": "tram",
        "operator": {
          "type": "operator",
          "id": "nahreisezug",
          "name": "Nahreisezug"
        }
      },
      "remarks": [],
      "origin": null,
      "destination": {
        "type": "station",
        "id": "722635",
        "name": "Waldstadt Europ\\u00e4ische Schule, Karlsruhe",
        "location": {
          "type": "location",
          "id": "722635",
          "latitude": 49.044804,
          "longitude": 8.446768
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": false,
          "bus": true,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": false
        }
      },
      "station": {
        "id": 8958,
        "ibnr": 370401,
        "wikidata_id": null,
        "ifopt_a": "de",
        "ifopt_b": 8212,
        "ifopt_c": 401,
        "ifopt_d": null,
        "ifopt_e": null,
        "rilIdentifier": null,
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "latitude": 49.011373,
        "longitude": 8.423432,
        "ifopt": "de:8212:401"
      }
    },
    {
      "tripId": "2|#VN#1#ST#1720464615#PI#0#ZI#490328#TA#7#DA#240724#1S#722635#1T#656#LS#373611#LT#736#PU#80#RT#1#CA#STR#ZE#4#ZB#STR    4#PC#8#FR#722635#FT#656#TO#373611#TT#736#",
      "stop": {
        "type": "station",
        "id": "721387",
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "location": {
          "type": "location",
          "id": "721387",
          "latitude": 49.011256,
          "longitude": 8.422937
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": false,
          "bus": false,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": false
        }
      },
      "when": "2024-07-24T07:10:00+02:00",
      "plannedWhen": "2024-07-24T07:10:00+02:00",
      "delay": null,
      "platform": null,
      "plannedPlatform": null,
      "prognosisType": null,
      "direction": "Oberreut Badeniaplatz, Karlsruhe",
      "provenance": null,
      "line": {
        "type": "line",
        "id": "8-kvv021-4",
        "fahrtNr": "0",
        "name": "STR 4",
        "public": true,
        "adminCode": "kvv021",
        "productName": "STR",
        "mode": "train",
        "product": "tram",
        "operator": {
          "type": "operator",
          "id": "nahreisezug",
          "name": "Nahreisezug"
        }
      },
      "remarks": [],
      "origin": null,
      "destination": {
        "type": "stop",
        "id": "373611",
        "name": "Oberreut Badeniaplatz, Karlsruhe",
        "location": {
          "type": "location",
          "id": "373611",
          "latitude": 48.982284,
          "longitude": 8.368283
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": false,
          "bus": true,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": false
        },
        "station": {
          "type": "station",
          "id": "723877",
          "name": "Oberreut Badeniaplatz, Karlsruhe",
          "location": {
            "type": "location",
            "id": "723877",
            "latitude": 48.981943,
            "longitude": 8.368211
          },
          "products": {
            "nationalExpress": false,
            "national": false,
            "regionalExp": false,
            "regional": false,
            "suburban": false,
            "bus": true,
            "ferry": false,
            "subway": false,
            "tram": true,
            "taxi": false
          }
        }
      },
      "station": {
        "id": 8937,
        "ibnr": 721387,
        "wikidata_id": null,
        "ifopt_a": "de",
        "ifopt_b": 8212,
        "ifopt_c": 401,
        "ifopt_d": null,
        "ifopt_e": null,
        "rilIdentifier": null,
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "latitude": 49.011256,
        "longitude": 8.422937,
        "ifopt": "de:8212:401"
      }
    },
    {
      "tripId": "2|#VN#1#ST#1720464615#PI#0#ZI#490333#TA#0#DA#240724#1S#362391#1T#651#LS#722635#LT#727#PU#80#RT#1#CA#STR#ZE#4#ZB#STR    4#PC#8#FR#362391#FT#651#TO#722635#TT#727#",
      "stop": {
        "type": "stop",
        "id": "370401",
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "location": {
          "type": "location",
          "id": "370401",
          "latitude": 49.011373,
          "longitude": 8.423432
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": false,
          "bus": false,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": false
        },
        "station": {
          "type": "station",
          "id": "721387",
          "name": "Karl-Wilhelm-Platz, Karlsruhe",
          "location": {
            "type": "location",
            "id": "721387",
            "latitude": 49.011256,
            "longitude": 8.422937
          },
          "products": {
            "nationalExpress": false,
            "national": false,
            "regionalExp": false,
            "regional": false,
            "suburban": false,
            "bus": false,
            "ferry": false,
            "subway": false,
            "tram": true,
            "taxi": false
          }
        }
      },
      "when": "2024-07-24T07:12:00+02:00",
      "plannedWhen": "2024-07-24T07:12:00+02:00",
      "delay": null,
      "platform": null,
      "plannedPlatform": null,
      "prognosisType": null,
      "direction": "Waldstadt Europ\\u00e4ische Schule, Karlsruhe",
      "provenance": null,
      "line": {
        "type": "line",
        "id": "8-kvv021-4",
        "fahrtNr": "0",
        "name": "STR 4",
        "public": true,
        "adminCode": "kvv021",
        "productName": "STR",
        "mode": "train",
        "product": "tram",
        "operator": {
          "type": "operator",
          "id": "nahreisezug",
          "name": "Nahreisezug"
        }
      },
      "remarks": [],
      "origin": null,
      "destination": {
        "type": "station",
        "id": "722635",
        "name": "Waldstadt Europ\\u00e4ische Schule, Karlsruhe",
        "location": {
          "type": "location",
          "id": "722635",
          "latitude": 49.044804,
          "longitude": 8.446768
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": false,
          "bus": true,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": false
        }
      },
      "station": {
        "id": 8958,
        "ibnr": 370401,
        "wikidata_id": null,
        "ifopt_a": "de",
        "ifopt_b": 8212,
        "ifopt_c": 401,
        "ifopt_d": null,
        "ifopt_e": null,
        "rilIdentifier": null,
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "latitude": 49.011373,
        "longitude": 8.423432,
        "ifopt": "de:8212:401"
      }
    },
    {
      "tripId": "2|#VN#1#ST#1720464615#PI#0#ZI#490327#TA#9#DA#240724#1S#722277#1T#707#LS#363306#LT#755#PU#80#RT#1#CA#STR#ZE#3#ZB#STR    3#PC#8#FR#722277#FT#707#TO#363306#TT#755#",
      "stop": {
        "type": "station",
        "id": "721387",
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "location": {
          "type": "location",
          "id": "721387",
          "latitude": 49.011256,
          "longitude": 8.422937
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": false,
          "bus": false,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": false
        }
      },
      "when": "2024-07-24T07:13:00+02:00",
      "plannedWhen": "2024-07-24T07:13:00+02:00",
      "delay": null,
      "platform": null,
      "plannedPlatform": null,
      "prognosisType": null,
      "direction": "Daxlanden Waidweg, Karlsruhe",
      "provenance": null,
      "line": {
        "type": "line",
        "id": "8-kvv021-3",
        "fahrtNr": "0",
        "name": "STR 3",
        "public": true,
        "adminCode": "kvv021",
        "productName": "STR",
        "mode": "train",
        "product": "tram",
        "operator": {
          "type": "operator",
          "id": "nahreisezug",
          "name": "Nahreisezug"
        }
      },
      "remarks": [],
      "origin": null,
      "destination": {
        "type": "stop",
        "id": "363306",
        "name": "Daxlanden Waidweg, Karlsruhe",
        "location": {
          "type": "location",
          "id": "363306",
          "latitude": 49.004317,
          "longitude": 8.322366
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": true,
          "bus": false,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": true
        },
        "station": {
          "type": "station",
          "id": "720577",
          "name": "Daxlanden Waidweg, Karlsruhe",
          "location": {
            "type": "location",
            "id": "720577",
            "latitude": 49.004362,
            "longitude": 8.322321
          },
          "products": {
            "nationalExpress": false,
            "national": false,
            "regionalExp": false,
            "regional": false,
            "suburban": true,
            "bus": false,
            "ferry": false,
            "subway": false,
            "tram": true,
            "taxi": true
          }
        }
      },
      "station": {
        "id": 8937,
        "ibnr": 721387,
        "wikidata_id": null,
        "ifopt_a": "de",
        "ifopt_b": 8212,
        "ifopt_c": 401,
        "ifopt_d": null,
        "ifopt_e": null,
        "rilIdentifier": null,
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "latitude": 49.011256,
        "longitude": 8.422937,
        "ifopt": "de:8212:401"
      }
    },
    {
      "tripId": "2|#VN#1#ST#1720464615#PI#0#ZI#490623#TA#4#DA#240724#1S#363306#1T#635#LS#722277#LT#720#PU#80#RT#1#CA#STR#ZE#3#ZB#STR    3#PC#8#FR#363306#FT#635#TO#722277#TT#720#",
      "stop": {
        "type": "stop",
        "id": "370401",
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "location": {
          "type": "location",
          "id": "370401",
          "latitude": 49.011373,
          "longitude": 8.423432
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": false,
          "bus": false,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": false
        },
        "station": {
          "type": "station",
          "id": "721387",
          "name": "Karl-Wilhelm-Platz, Karlsruhe",
          "location": {
            "type": "location",
            "id": "721387",
            "latitude": 49.011256,
            "longitude": 8.422937
          },
          "products": {
            "nationalExpress": false,
            "national": false,
            "regionalExp": false,
            "regional": false,
            "suburban": false,
            "bus": false,
            "ferry": false,
            "subway": false,
            "tram": true,
            "taxi": false
          }
        }
      },
      "when": "2024-07-24T07:14:00+02:00",
      "plannedWhen": "2024-07-24T07:14:00+02:00",
      "delay": null,
      "platform": null,
      "plannedPlatform": null,
      "prognosisType": null,
      "direction": "Rintheim, Karlsruhe",
      "provenance": null,
      "line": {
        "type": "line",
        "id": "8-kvv021-3",
        "fahrtNr": "0",
        "name": "STR 3",
        "public": true,
        "adminCode": "kvv021",
        "productName": "STR",
        "mode": "train",
        "product": "tram",
        "operator": {
          "type": "operator",
          "id": "nahreisezug",
          "name": "Nahreisezug"
        }
      },
      "remarks": [],
      "origin": null,
      "destination": {
        "type": "stop",
        "id": "722277",
        "name": "Rintheim, Karlsruhe",
        "location": {
          "type": "location",
          "id": "722277",
          "latitude": 49.016281,
          "longitude": 8.443721
        },
        "products": {
          "nationalExpress": false,
          "national": false,
          "regionalExp": false,
          "regional": false,
          "suburban": true,
          "bus": false,
          "ferry": false,
          "subway": false,
          "tram": true,
          "taxi": false
        }
      },
      "station": {
        "id": 8958,
        "ibnr": 370401,
        "wikidata_id": null,
        "ifopt_a": "de",
        "ifopt_b": 8212,
        "ifopt_c": 401,
        "ifopt_d": null,
        "ifopt_e": null,
        "rilIdentifier": null,
        "name": "Karl-Wilhelm-Platz, Karlsruhe",
        "latitude": 49.011373,
        "longitude": 8.423432,
        "ifopt": "de:8212:401"
      }
    }
  ],
  "meta": {
    "station": {
      "id": 8937,
      "name": "Karl-Wilhelm-Platz, Karlsruhe",
      "latitude": 49.011256,
      "longitude": 8.422937,
      "ibnr": 721387,
      "rilIdentifier": null
    },
    "times": {
      "now": "2024-07-24T05:00:00.000000Z",
      "prev": "2024-07-24T04:45:00.000000Z",
      "next": "2024-07-24T05:15:00.000000Z"
    }
  }
}

@MrKrisKrisu
Copy link
Member

There was a time offset for this station. @HerrLevin do you have more information how this happen? You've programmed the timezone things. :D

I've removed the offset, now the departures are loading again.

image

@HerrLevin
Copy link
Member

HerrLevin commented Jul 12, 2024

You've programmed the timezone things. :D

I... uhm... apparently I didn't do a great job 😂

I really don't know how THAT happened

@ChillLP
Copy link

ChillLP commented Jul 29, 2024

Screenshot_20240729_143546_Trwelldroid.jpg

Screenshot_20240729_143726_Trwelldroid.jpg

I think there are a few Stations with a similar Problem...

@fzakfeld
Copy link

Some details:

e.g. 14:52 (GMT+1) service from Aberdeen (saved as GMT+2 in HAFAS)

HAFAS knows this journey: https://v6.db.transport.rest/stops/7000011/departures?when=2024-07-29T12%3A50%3A00%2B00%3A00&duration=5

But it doesn't work in Traewelling: https://traewelling.de/stationboard?stationId=5599&stationName=Aberdeen&when=2024-07-29T12%3A50%3A00.000Z&travelType=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants