mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Turn on some debugging to try to figure out what goes wrong on Travis
This commit is contained in:
parent
fdb3202b6b
commit
b155c616b8
@ -1128,6 +1128,10 @@ class calendar_bo
|
||||
unset($event['recur_exception']);
|
||||
// loop over all recurrences and insert them, if they are after $start
|
||||
$rrule = calendar_rrule::event2rrule($event, !$event['whole_day'], Api\DateTime::$user_timezone->getName()); // true = we operate in usertime, like the rest of calendar_bo
|
||||
$rrule->rewind();
|
||||
error_log(__METHOD__ . ' rrule: ' . $rrule . ' current: ' . $rrule->current());
|
||||
foreach($rrule as $time) {error_log($time);};
|
||||
$rrule->rewind();
|
||||
foreach($rrule as $time)
|
||||
{
|
||||
$time->setUser(); // $time is in timezone of event, convert it to usertime used here
|
||||
|
@ -297,7 +297,7 @@ class TimezoneTest extends \EGroupware\Api\AppTest {
|
||||
}
|
||||
} while ($event_index < count($tz_list));
|
||||
|
||||
/* one specific test
|
||||
/* one specific test */
|
||||
$tz_combos = array(array(
|
||||
'client' => 'Europe/Berlin',
|
||||
'server' => 'Pacific/Tahiti',
|
||||
@ -316,6 +316,7 @@ class TimezoneTest extends \EGroupware\Api\AppTest {
|
||||
*/
|
||||
protected function makeEvent($timezones, $times, $whole_day = false)
|
||||
{
|
||||
error_log($this->tzString($timezones));
|
||||
$event = array(
|
||||
'title' => ($whole_day ? 'Whole day ' : '')."Test for " . $this->tzString($timezones),
|
||||
'description' => ($whole_day ? 'Whole day ' : '').'Test for test ' . $this->getName() . ' ' . $this->tzString($timezones),
|
||||
|
Loading…
Reference in New Issue
Block a user