com php-src: Added timelib version to phpinfo(): ext/date/php _date.c
| From: | Derick Rethans | Date: | Wed, 16 Aug 2017 08:51:21 +0000 |
| Subject: | com php-src: Added timelib version to phpinfo(): ext/date/php _date.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99050@lists.php.net to get a copy of this message | ||
Commit: 7829f9b1d23266034facedcf9200925c593f49c1
Author: Derick Rethans <github@derickrethans.nl> Wed, 16 Aug 2017 09:51:21 +0100
Parents: 01735f4d9f71cea2e95d9e08175042a8e0f17299
Branches: PHP-7.0 PHP-7.1 PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7829f9b1d23266034facedcf9200925c593f49c1
Log:
Added timelib version to phpinfo()
Changed paths:
M ext/date/php_date..c
Diff:
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index a9e5506..b50afc7 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -911,6 +911,7 @@ PHP_MINFO_FUNCTION(date)
php_info_print_table_start();
php_info_print_table_row(2, "date/time support", "enabled");
+ php_info_print_table_row(2, "timelib version", TIMELIB_ASCII_VERSION);
php_info_print_table_row(2, "\"Olson\" Timezone Database Version",
tzdb->version);
php_info_print_table_row(2, "Timezone Database", php_date_global_timezone_db_enabled ?
"external" : "internal");
php_info_print_table_row(2, "Default timezone", guess_timezone(tzdb));