TheProjecter / osfilemanager

Automatically exported from code.google.com/p/osfilemanager
0 stars 0 forks source link

It is not safe to rely on the system's timezone settings. #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Delete a folder
2. Agree to delete

What is the expected output? What do you see instead?

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.

What version of the product are you using? On what operating system?
osFileManager 2.2
CentOS

Please provide any additional information below.
http://php.net/manual/en/function.date-default-timezone-set.php
Explains the problem.
Easiest way is to state in the beginning of the .php file:
date_default_timezone_set('NameOfYourTimeZone');
List of supported timezones:
http://www.php.net/manual/en/timezones.php

Original issue reported on code.google.com by janno.jo...@gmail.com on 9 Sep 2011 at 1:06