View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0011522 | CDash | (No Category) | public | 2010-11-26 06:32 | 2011-09-13 05:35 | ||||||||
Reporter | Rolf Eike Beer | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | Linux | OS Version | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0011522: PHP warnings about timezone | ||||||||||||
Description | PHP Warning: strtotime(): 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 'CET/1.0/no DST' instead in .../cdash/common.php on line 1444, referer: http://.../cdash/index.php?project=xyz&date=2010-11-26 [^] PHP is 5.3.3, CDash is r2797 | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | |||||||||||||
Relationships | |
Relationships |
Notes | |
(0026515) Yngve Inntjore Levinsen (reporter) 2011-05-17 03:12 |
I can confirm this using version 1.8.2 on Arch Linux, php version 5.3.6. |
(0027412) David Schneider (reporter) 2011-09-13 05:35 |
In PHP 5.1.0 date/time functions were rewritten. Since then a E_WARNING is emitted if the system timezone is used as default. If you have access to php.ini just set the date.timezone to your location: http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone [^] Otherwise you have to call date-default-timezone-set() at the begin of the script (perhaps in config.local.php): http://php.net/manual/de/function.date-default-timezone-set.php [^] |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-11-26 06:32 | Rolf Eike Beer | New Issue | |
2011-05-17 03:12 | Yngve Inntjore Levinsen | Note Added: 0026515 | |
2011-09-13 05:35 | David Schneider | Note Added: 0027412 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |