Fetch timezone on airport lookup (#1103)

Co-authored-by: Andreas Palm <ap@ewsp.de>
This commit is contained in:
exciler
2021-03-29 23:10:00 +02:00
committed by GitHub
parent 96fff0248d
commit 50e8f2e52b

View File

@@ -28,6 +28,7 @@ class VaCentralLookup extends AirportLookup
try {
$airport = $this->client->getAirport($icao);
$airport->location = $airport->city;
$airport->timezone = $airport->tz;
return $airport;
} catch (HttpException $e) {