Auditoría JS para slider y fecha de hoy.

This commit is contained in:
Your Name
2025-02-17 08:30:52 -06:00
parent e31e1228b1
commit 96eba3f917

View File

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