From f384015ca077af895065875233b747a7ed22229f Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Wed, 24 May 2023 21:33:05 -0500 Subject: add time_zone --- ifconfig.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ifconfig.php') 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) -- cgit v1.2.3-70-g09d2