Ver código fonte

Corrección de fecha

alejandro.lara 1 ano atrás
pai
commit
c1f451742a
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      action/solicitud_insert.php

+ 1 - 1
action/solicitud_insert.php

@@ -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;