amtkstat/Sources/AmtrakStatus
Tony Bark a43eefadc1 Show local station time; reuse date formatter
- Added localTime(timeZone:) and updateTime(timeZone:) to AmtrakDateFormatting to format the current time for a given timezone.
- In ContentView, make AmtrakDateFormatting is now a shared property with localTimeZone being used at the bottom to show "It is <time> at <station> station".
- trainStatus now saves the station name and timezone (avoiding repeated formatter instantiation) and isOnTime uses the shared formatter.
2026-08-24 03:09:49 -04:00
..
AmtrakClient.swift Add timezone-aware station lookup and formatting 2026-08-24 01:00:47 -04:00
AmtrakDateFormatting.swift Show local station time; reuse date formatter 2026-08-24 03:09:49 -04:00
AmtrakStatusApp.swift Finished wiring up loadTrainStatus() 2026-08-22 17:49:41 -04:00
ContentView.swift Show local station time; reuse date formatter 2026-08-24 03:09:49 -04:00
Models.swift Train status is now coloured coded for your convenience 2026-08-23 21:23:45 -04:00
TrainLateness.swift Fixed a slight oversight in TrainLateness's formatter 2026-08-23 21:59:03 -04:00