-
Notifications
You must be signed in to change notification settings - Fork 39
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
DatedCall should really not have a DayOffset #568
Comments
If I remember well the day offset on Call is necessary due to the fact that some vehicle journeys can last several days (a trans-European bus for example), and you need to know on which day of the journey you are. |
On a call, sure, but we are talking about a DatedCall which has departure_date and arrival_date. So if this means we need restriction ;-) sure. But I would prefer a better object inherintance. |
Documentation could state that explicit date and time takes precedence over Offset, but Offset is still useful to have for passenger information "Next day " or "two days later" so as to make clear. people can get very confused over pms and ams |
The point is that an offset is something else than an explicit date. If we now consider an offset being an attribute instead of a qualifier... it does not make sense if in an other case it is a qualifier. |
@Aurige It is worse. A DatedVehicleJourneyGroup instroduces both datedPassingTimes and datedCalls. Are we sure we can remove DatedCalls? I see that the datedPassingTimes are just TargetPassingTimes, so I guess we can just make it calls. |
@skinkie shouldn't you reference the PR you did for this? Or is this still open? |
addressed in #596 |
If you would create a DatedCall, I would expect that the intention is to have a date and a time, which are combined. The current model allows a Departure and Arrival structure to have a time with a DayOffset this will obviously lead to very strange ambiguities.
Can we check if this should be restricted?
The text was updated successfully, but these errors were encountered: