From c1f451742a79e1ebda04fc07882f6f2699a3b338 Mon Sep 17 00:00:00 2001 From: "alejandro.lara" Date: Fri, 22 Mar 2024 13:11:14 -0600 Subject: [PATCH] =?UTF-8?q?Correcci=C3=B3n=20de=20fecha?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action/solicitud_insert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action/solicitud_insert.php b/action/solicitud_insert.php index c00fc30..8f31061 100644 --- a/action/solicitud_insert.php +++ b/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;