Closed aaronbrethorst closed 8 months ago
Fixes https://github.com/OneBusAway/onebusaway-ios/issues/681
Before, we were nil'ing out ArrivalDeparture prediction dates whose values were 0. Now, instead, we'll just treat anything earlier than 2001 as being invalid.
nil
0
Note: 2001 is an arbitrary early cutoff. It could just as easily be today - 1 month.
today - 1 month
Fixes https://github.com/OneBusAway/onebusaway-ios/issues/681
Before, we were
nil
'ing out ArrivalDeparture prediction dates whose values were0
. Now, instead, we'll just treat anything earlier than 2001 as being invalid.Note: 2001 is an arbitrary early cutoff. It could just as easily be
today - 1 month
.