fix: refs #7353 scopeDays #795

Merged
jorgep merged 5 commits from 7353-hotfix-fixScopeDays into master 2024-10-14 14:11:07 +00:00
1 changed files with 5 additions and 1 deletions

View File

@ -25,7 +25,11 @@ const stateOpts = ref([]);
const zoneOpts = ref([]);
const visibleColumns = ref([]);
const { viewSummary } = useSummaryDialog();
const [from, to] = dateRange(Date.vnNew());
Review

Al arrancar no ponía 1 día adelante

Al arrancar no ponía 1 día adelante
Review

Pregunta, porque este filter, dataRange no funciona? Deberiamos tener otro?

Es solo para el mismo día.

> Pregunta, porque este filter, dataRange no funciona? Deberiamos tener otro? Es solo para el mismo día.
const from = Date.vnNew();
from.setHours(0, 0, 0, 0);
const to = new Date(from.getTime());
to.setDate(to.getDate() + 1);
to.setHours(23, 59, 59, 999);
function exprBuilder(param, value) {
switch (param) {