diff options
author | Christian Cleberg <hello@cleberg.net> | 2023-05-24 21:33:05 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2023-05-24 21:33:05 -0500 |
commit | f384015ca077af895065875233b747a7ed22229f (patch) | |
tree | dc053fc2d00afd0e041852d4c6fd6997b648c26c | |
parent | d6a90dd0a099732684f679ea940fc00d3d0e7a20 (diff) | |
download | ifconfig.php-f384015ca077af895065875233b747a7ed22229f.tar.gz ifconfig.php-f384015ca077af895065875233b747a7ed22229f.tar.bz2 ifconfig.php-f384015ca077af895065875233b747a7ed22229f.zip |
add time_zone
-rw-r--r-- | ifconfig.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ifconfig.php b/ifconfig.php index fc4dd30..4010991 100644 --- a/ifconfig.php +++ b/ifconfig.php @@ -44,7 +44,8 @@ $user = array( 'continent_name' => $geo['continent']['names']['en'], 'country_code' => $geo['country']['geoname_id'], 'country_iso' => $geo['country']['iso_code'], - 'country_name' => $geo['country']['names']['en'] + 'country_name' => $geo['country']['names']['en'], + 'time_zone' => $geo['location']['time_zone'] ); // Check request (ex. ifconfig.php?q=ip) |