fix duration bug
This commit is contained in:
parent
8219516ec0
commit
1ea183a0f7
|
@ -70,9 +70,11 @@ if(strlen($newdate) > 10){
|
||||||
$allday = true;
|
$allday = true;
|
||||||
$newdatestringarray[1] = "00:00";
|
$newdatestringarray[1] = "00:00";
|
||||||
}else{
|
}else{
|
||||||
$allday = false;
|
if($allday == true){
|
||||||
$difference = 3600;
|
$difference = 3600;
|
||||||
}
|
}
|
||||||
|
$allday = false;
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
$newdatestringarray = array();
|
$newdatestringarray = array();
|
||||||
$newdatestringarray[0] = $newdate;
|
$newdatestringarray[0] = $newdate;
|
||||||
|
|
Loading…
Reference in New Issue