This commit is contained in:
@@ -13,8 +13,8 @@ interface FlightData {
|
||||
|
||||
function clean_times(s: string): string | null {
|
||||
if (s == "—" || s == "Scheduled") return null
|
||||
if (s.indexOf("Estimated departure") == 0) return null
|
||||
if (s.indexOf("Landed") == 0) return s.replace("Landed ", "")
|
||||
if (s.startsWith("Estimated departure")) return null
|
||||
if (s.startsWith("Landed")) return s.replace("Landed ", "")
|
||||
return s
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user