appflower/appflower_studio_playground — pull request #1 by eventhorizonpl (2012-08-29 10:33:39+00:00)
Title: set default timezone to UTC

Hi,

This patch fixes the following problem

PHP Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in

Patch sets default timezone to UTC - UTC should be safe enough.

The other way to fix the problem could be parsing ini_get('date.timezone') and check if it has proper value. But this solution would have impact on performance.

Best regards,
Michal