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();