WSDOT / wsdot-kotlin-app

Source Code for the WSDOT Android Application
GNU General Public License v3.0
1 stars 3 forks source link

Travel times needs to show "N/A" when current time is not available #172

Closed waynedyck closed 1 year ago

waynedyck commented 1 year ago

When the current_time is not available the field is set to "-1". Rather than showing "-1" to the end user it should display "N/A" as it does on the website.

{
current_time: -1,
endLocationLatitude: 0,
title: "Ellensburg to North Bend (WB)",
startLocationLongitude: 0,
travel_time_id: 115,
status: "open",
startLocationLatitude: 0,
via: "I-90 WB",
endLocationLongitude: 0,
updated_at: "2022-11-07 09:15 AM",
updated: "2022-11-07 09:15 AM",
avg_time: 73,
miles: 75.35
},