| Issue 551: | full calendar does not show the appointments | |
| 1 person starred this issue and may be notified of changes. | Back to list |
ALL appointments before 9 AM does not show anywhere but if ai change it it shows perfectly(after 900 AM )
can anyone say me what do i have to do to figure this out????
here is the js
$('#view_lmsys').fullCalendar({
theme: true,
defaultView: 'basicWeek',
header: { left: 'prev,next', center: 'title', right: 'month,basicWeek,today' },
events: "data.php",
minTime: 5,
firstHour: 7,
allDaySlot: true
});
and this is the php handler
$Events= array();
$fechaIni = date('Y-m-d',trim($_GET['start']));
$fechaFin = date('Y-m-d',trim($_GET['end']));
$DataAct = db_Execute("SELECT * FROM vw_actividades_fechas_cal2 WHERE fecha >= '$fechaIni' AND fecha < '$fechaFin'");
$x = 0;
while (!$DataAct->EOF) {
$x++;
$ff = split("-",$DataAct->fields['fecha']);
$start = $DataAct->fields['fecha']."T".$DataAct->fields['hora'].":".$DataAct->fields['minutos'].":00Z";
$end = $DataAct->fields['fecha']."T".($DataAct->fields['hora']+1).":".$DataAct->fields['minutos'].":00Z";
$Events[] = array(
'id' => $x,
'title' => $DataAct->fields['asunto'],
'start' => "$start",
'end' => "$end",
'url' => "javascript:vwActividad('".$DataAct->fields['id']."');",
'className' => 'amarillo'
);
$DataAct->MoveNext();
}
echo json_encode($Events);
Aug 25, 2010
Project Member
#1
adamrs...@gmail.com
Oct 7, 2010
(No comment was entered for this change.)
Status:
Done
|
|
| ► Sign in to add a comment |