LetoDMS Community Forum
Timezone - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Bugs/Errors (https://community.letodms.com/forumdisplay.php?fid=11)
+--- Thread: Timezone (/showthread.php?tid=651)



Timezone - bgone - 02-22-2013

Hi All,

I get the errors with version 3.4.2 from functions mktime()/strtotime() as below:
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 'Asia/Bangkok' for 'ICT/7.0/no DST' instead in...
Please help me the way to correct it.
Thanks


RE: Timezone - steinm - 02-22-2013

(02-22-2013, 10:11 AM)bgone Wrote: Hi All,

I get the errors with version 3.4.2 from functions mktime()/strtotime() as below:
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 'Asia/Bangkok' for 'ICT/7.0/no DST' instead in...
Please help me the way to correct it.
Thanks

Set your time zone in php.ini.

Uwe


RE: Timezone - bgone - 02-23-2013

(02-22-2013, 09:25 PM)steinm Wrote:
(02-22-2013, 10:11 AM)bgone Wrote: Hi All,

I get the errors with version 3.4.2 from functions mktime()/strtotime() as below:
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 'Asia/Bangkok' for 'ICT/7.0/no DST' instead in...
Please help me the way to correct it.
Thanks

Set your time zone in php.ini.

Uwe

Thanks/Danke Uwe, the issue is fixed