mirror of
https://github.com/tonytins/amtkstat.git
synced 2026-10-24 13:42:51 -04:00
Removed on time column for now
- Added origin and destination columns
This commit is contained in:
parent
f0b71b3762
commit
6f8cca9dc9
3 changed files with 38 additions and 17 deletions
|
|
@ -36,7 +36,10 @@ struct AmtrakClient {
|
|||
}
|
||||
|
||||
func trainNumber(fromTrainId trainId: String) -> String {
|
||||
trainId.split(separator: "-").first.map(String.init) ?? trainId
|
||||
trainId
|
||||
.split(separator: "-")
|
||||
.first
|
||||
.map(String.init) ?? trainId
|
||||
}
|
||||
|
||||
func fetchStationTrainNumbers(stationCode code: String) async throws -> [String] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue