mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 02:41:02 +01:00
This should solve the problem with the matrix view. Also a little format fixing.
This commit is contained in:
parent
7bb5e67739
commit
0ce7166f26
@ -1849,8 +1849,8 @@
|
||||
for($k=0;$k<count($this->cached_events[$fulldate]);$k++)
|
||||
{
|
||||
$event = $this->cached_events[$fulldate][$k];
|
||||
$eventstart = $this->datetime->localdates($event->datetime);
|
||||
$eventend = $this->datetime->localdates($event->edatetime);
|
||||
$eventstart = $this->datetime->localdates($this->maketime($event['start']) - $this->datetime->tz_offset);
|
||||
$eventend = $this->datetime->localdates($this->maketime($event['end']) - $this->datetime->tz_offset);
|
||||
$start = ($eventstart['hour'] * 10000) + ($eventstart['minute'] * 100);
|
||||
$starttemp = $this->splittime("$start",False);
|
||||
$subminute = 0;
|
||||
|
@ -1599,7 +1599,7 @@
|
||||
switch($GLOBALS['HTTP_POST_VARS']['matrixtype'])
|
||||
{
|
||||
case 'free/busy':
|
||||
$freetime = $this->datetime->makegmttime(0,0,0,$this->bo->month,$this->bo->day,$this->bo->year);
|
||||
$freetime = $this->datetime->gmtdate(mktime(0,0,0,$this->bo->month,$this->bo->day,$this->bo->year));
|
||||
echo $this->timematrix(
|
||||
Array(
|
||||
'date' => $freetime,
|
||||
@ -2430,7 +2430,7 @@
|
||||
{
|
||||
if($this->debug)
|
||||
{
|
||||
echo '<!-- datetime:gmtdate = '.$this->datetime->gmtdate.' -->'."\n";
|
||||
echo '<!-- datetime:gmtdate = '.$this->datetime->cv_gmtdate.' -->'."\n";
|
||||
}
|
||||
|
||||
$this->bo->store_to_cache(
|
||||
@ -3157,11 +3157,11 @@
|
||||
$GLOBALS['phpgw']->preferences->add('calendar','interval',15);
|
||||
$GLOBALS['phpgw']->preferences->save_repository();
|
||||
}
|
||||
// $increment = $this->bo->prefs['calendar']['interval'];
|
||||
$increment = 15;
|
||||
$increment = $this->bo->prefs['calendar']['interval'];
|
||||
// $increment = 15;
|
||||
$interval = (int)(60 / $increment);
|
||||
|
||||
$pix = $GLOBALS['phpgw']->common->image('calendar','pix.gif');
|
||||
$pix = $GLOBALS['phpgw']->common->image('calendar','pix');
|
||||
|
||||
$str = '<center>'.lang($GLOBALS['phpgw']->common->show_date($date['raw'],'l'))
|
||||
. ', '.lang($GLOBALS['phpgw']->common->show_date($date['raw'],'F'))
|
||||
|
Loading…
Reference in New Issue
Block a user