Timezone php error

Glen Barber glen.j.barber at gmail.com
Wed Nov 10 20:30:35 EST 2010

On 11/10/10 8:11 PM, Beecher Rintoul wrote:
> I'm getting the following php error:
> Warning: date() [function.date]: 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 'America/Anchorage' for 'AKST/-9.0/no DST' 
> instead in /usr/local/tinderbox/scripts/webui/module/moduleBuildPorts.php on 
> line 111
> I can turn off the error, but I'd rather just fix this. 


You should add your timezone to php.ini; here's a document containing
valid entries:



Best regards,

Glen Barber

More information about the tinderbox-list mailing list