Got a bunch of these in my mailbox since updating to 5.3.6. Running with a Suhosin patch, which may affect things slightly.
Warning: getdate(): 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 'America/New_York' for
+'EDT/-4.0/DST' instead in /home/rheil/import/ripper.php on line 80
Warning: mktime(): 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 'America/New_York' for
+'EDT/-4.0/DST' instead in /home/rheil/import/ripper.php on line 83
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1128340-1.patch | 1.3 KB | refreshingapathy |
Comments
Comment #1
refreshingapathy commentedSee attached patch, it just adds a line to ripper.php to set the default timezone to UTC using date_default_timezone_set(). Since we're working with UTC timestamps this shouldn't need to be configurable through ripper.inc, right?
Note that this assumes that people aren't setting their time zone in PHP.ini
Comment #2
darrick commented