Commit 9b73481c authored by Volker Krause's avatar Volker Krause
Browse files

Propagate departure day in generic VDV extractor

parent e50650bb
......@@ -44,6 +44,7 @@ QJsonArray GenericVdvExtractor::extract(const QByteArray &data)
QJsonObject trip;
trip.insert(QStringLiteral("@type"), QLatin1String("TrainTrip"));
trip.insert(QStringLiteral("provider"), org);
trip.insert(QStringLiteral("departureDay"), vdv.beginDateTime().date().toString(Qt::ISODate));
QJsonObject seat;
seat.insert(QStringLiteral("@type"), QLatin1String("Seat"));
switch (vdv.serviceClass()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment