Corrección de fecha
This commit is contained in:
@@ -101,7 +101,7 @@ switch($tipo){
|
||||
$dia_new = date('w', strtotime($fecha_new));
|
||||
break;
|
||||
case 4://Cambio permanente
|
||||
$fecha_nueva = $fecha_new;
|
||||
$fecha_nueva = $fecha;
|
||||
$fecha_clase = $fecha_cambio;
|
||||
|
||||
$fecha_new = DateTime::createFromFormat('d/m/Y', $fecha)->format('Y-m-d')." ".$hora;
|
||||
|
||||
Reference in New Issue
Block a user