From 866308c21a1938913d5f378953c7a986007ec858 Mon Sep 17 00:00:00 2001 From: alext Date: Thu, 17 Nov 2016 08:54:59 +0100 Subject: [PATCH] Added timezone issue to FAQ section. --- doc/faq.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/faq.md b/doc/faq.md index 1ed854cb..1e177f1a 100644 --- a/doc/faq.md +++ b/doc/faq.md @@ -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)