Fetch timezone on airport lookup (#1103)
Co-authored-by: Andreas Palm <ap@ewsp.de>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user