Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a47b3a

Browse files
Add the missing timezone field for FreeGeoIp provider
1 parent 441cf52 commit 0a47b3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Geocoder/Provider/FreeGeoIp.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ private function executeQuery($query)
9999
'adminLevels' => $adminLevels,
100100
'country' => isset($data['country_name']) ? $data['country_name'] : null,
101101
'countryCode' => isset($data['country_code']) ? $data['country_code'] : null,
102+
'timezone' => isset($data['time_zone']) ? $data['time_zone'] : null,
102103
))
103104
]);
104105
}

0 commit comments

Comments
 (0)