From 96eba3f917ce57793fa4311dafd97df9b1915e01 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 17 Feb 2025 08:30:52 -0600 Subject: [PATCH] =?UTF-8?q?Auditor=C3=ADa=20JS=20para=20slider=20y=20fecha?= =?UTF-8?q?=20de=20hoy.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/auditoría.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/auditoría.js b/js/auditoría.js index 81ffcd6..5e42921 100644 --- a/js/auditoría.js +++ b/js/auditoría.js @@ -51,11 +51,11 @@ const store = reactive({ // minDate: new Date(`${periodo_data.periodo_fecha_inicio}:00:00:00`), maxDate: new Date(), dateFormat: "yy-mm-dd", - showAnim: "slide", + showAnim: "slideDown", beforeShowDay: (date) => [(date.getDay() != 0), ""] }); const fecha = $("#fecha"), inicio = $("#fecha_inicio"), fin = $("#fecha_fin"); - fecha.datepicker("setDate", new Date(`${periodo_data.fecha_final}:00:00:00`)); + fecha.datepicker("setDate", new Date()); inicio.on("change", function () { store.current.fechas_clicked = false; store.filters.fecha_inicio = inicio.val();