fix(api_handler): fix wrong date being shown for journeys going past midnight

This commit is contained in:
fbachus
2026-08-01 00:54:33 +02:00
parent 2b7b943ea2
commit 77949f6da6
3 changed files with 18 additions and 11 deletions
+1 -1
View File
@@ -292,7 +292,7 @@ class _ChooseDeparturePageState extends State<ChooseDeparturePage> {
void loadDepartures(Station startStation) async {
departureList = await ApiHandler.departures(
startStation.id,
time: widget.arrival?.arrivalTime ?? DateTime.now(),
datetime: widget.arrival?.arrivalTime ?? DateTime.now(),
);
setState(() {});
}