kevin-xw / rock-php

Automatically exported from code.google.com/p/rock-php
0 stars 0 forks source link

Timezone warning #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open collection detail

RockMongo Version (1.1.0)

Operation System (Server: RHEL5.5)

PHP Version (5.3.5)

php_mongo Version (1.1.4)

MongoDB version (1.8.1)

The warning page displays warning: 
Warning: date_default_timezone_get() [function.date-default-timezone-get]: 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 'Europe/Berlin' for 
'CEST/2.0/DST' instead in 
/appl/WEBAPPS/rockmongo-v1.1.0/app/classes/VarExportor.php on line 166

Original issue reported on code.google.com by honza.st...@gmail.com on 3 May 2011 at 2:31

GoogleCodeExporter commented 9 years ago
In your php.ini, you can set 
date.timezone = Europe/Berlin

Original comment by iwind....@gmail.com on 3 May 2011 at 2:33

GoogleCodeExporter commented 9 years ago
You can also add your timezone in the config.php:

date_default_timezone_set('Europe/London');

Original comment by ste...@nullabletype.co.uk on 5 May 2011 at 1:32

GoogleCodeExporter commented 9 years ago
Fixed in SVN r82

Original comment by iwind....@gmail.com on 6 May 2011 at 10:39