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 {
|
try {
|
||||||
$airport = $this->client->getAirport($icao);
|
$airport = $this->client->getAirport($icao);
|
||||||
$airport->location = $airport->city;
|
$airport->location = $airport->city;
|
||||||
|
$airport->timezone = $airport->tz;
|
||||||
|
|
||||||
return $airport;
|
return $airport;
|
||||||
} catch (HttpException $e) {
|
} catch (HttpException $e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user