wip
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
soraefir
2025-03-11 00:15:10 +01:00
parent 7e0157880b
commit 43dfc87546
11 changed files with 3066 additions and 1926 deletions

View File

@@ -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
}