Added timezone issue to FAQ section.

This commit is contained in:
alext 2016-11-17 08:54:59 +01:00
parent 2e2cb09a2d
commit 866308c21a

View file

@ -45,6 +45,15 @@ The following link points to a common question that many users ask. The default
(https://groups.google.com/d/msg/easy-appointments/Mdt98fbF8hE/9CEjOvW7FAAJ)
## DateTime::__construct(): It is not safe to rely on the system's timezone settings...
You get this warning because PHP is not configured with a timezone setting. This is a very important setting especially for Easy!Appointments, cause otherwise you might get into trouble with the appointment hours. After
installing the application, make sure that the php.ini "date.timezone" setting has the correct value depending
your location. You can find a list of the [available timezone setting on php.net](http://www.google.com/url?q=http%3A%2F%2Fphp.net%2Fmanual%2Fen%2Ftimezones.php&sa=D&sntz=1&usg=AFQjCNFtFw3O6UQXAKFKWCXqhSd9Z0UwgQ). If you cannot modify your php.ini file try to add the following command at the top of `index.php`.
`date_default_timezone_set('America/Los_Angeles'); // Use your own timezone string.`
*This document applies to Easy!Appointments v1.2*.
[Back](readme.md)