Skip to content

Commit 7829f9b

Browse files
committed
Added timelib version to phpinfo()
1 parent 01735f4 commit 7829f9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/date/php_date.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -911,6 +911,7 @@ PHP_MINFO_FUNCTION(date)
911911

912912
php_info_print_table_start();
913913
php_info_print_table_row(2, "date/time support", "enabled");
914+
php_info_print_table_row(2, "timelib version", TIMELIB_ASCII_VERSION);
914915
php_info_print_table_row(2, "\"Olson\" Timezone Database Version", tzdb->version);
915916
php_info_print_table_row(2, "Timezone Database", php_date_global_timezone_db_enabled ? "external" : "internal");
916917
php_info_print_table_row(2, "Default timezone", guess_timezone(tzdb));

0 commit comments

Comments
 (0)