Bij het genereren van de phpDocumentor documentatie onstaat deze fout :

Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /usr/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php on line 370

Er zijn verschillende manieren om de timezone settings te configureren :

php.ini :

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone

date.timezone = "Europe/Amsterdam"


.htaccess :

php_value date.timezone Europe/Amsterdam

PHP Script :

date_default_timezone_set('Europe/Amsterdam');

Zie ook : phpDocumentor

Zoeken