You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GTFS-RT > TimeZone issue for late/early text issue #123
Happened again with ca-edmonton-ets-bus-android as well.
Could only reproduce in release build type for a while and then it disappear before finding the root of the issue 🤔
Activity
mmathieum commentedon Apr 22, 2026
Seen with https://github.com/mtransitapps/ca-calgary-transit-bus-android in Prod as well.
mmathieum commentedon Apr 26, 2026
Happened again with ca-edmonton-ets-bus-android as well.
Could only reproduce in release build type for a while and then it disappear before finding the root of the issue 🤔
mmathieum commentedon Apr 26, 2026
Found the bug!
Agency time zone ID was right only the 1st time because the
TimeZone.getDefault().idwas always cached instead of the agency time zone 🤯commons-android/src/main/java/org/mtransit/android/commons/provider/agency/AgencyUtils.kt
Lines 37 to 42 in 2fe1ec4
-> so it only affect users checking out GTFS-RT data for transit agencies in different time-zone than their device