7 ms·
This is actually how GTFS (a standard format for public transit data) works: https://gtfs.org/documentation/schedule/reference/#stop_timestxt https://gtfs.org/d
by evertheylen 10mo ago
This is actually how GTFS (a standard format for public transit data) works: https://gtfs.org/documentation/schedule/reference/#stop_timestxt https://gtfs.org/documentation/schedule/reference/#stop_time... . Especially sleeper trains can get weird with 30+ hours. But I don't think it's wise to show that to the user
- 1718627440 10mo agoAnd it is the right thing to do as otherwise the question to which day a train belongs will be confusing. Just take it %24hours before intersecting trains. It is also how I personally record time spans. It makes it much easier as you do not need to deal with the case where the start is larger than the end time and you can only have a single date field.