diff --git a/server/controller/CarreraHorario/horariosDia.js b/server/controller/CarreraHorario/horariosDia.js index 68cfc3c..5809b79 100644 --- a/server/controller/CarreraHorario/horariosDia.js +++ b/server/controller/CarreraHorario/horariosDia.js @@ -2,7 +2,7 @@ const moment = require('moment'); const dbPath = '../../db/tablas'; const CarreraHorario = require(`${dbPath}/CarreraHorario`); const Horario = require(`${dbPath}/Horario`); -const hoy = moment().add(7, 'd'); +const hoy = moment(); const horariosDia = async (body) => { const data = []; diff --git a/server/controller/GrupoHorario/horariosDia.js b/server/controller/GrupoHorario/horariosDia.js index 0031cfe..edaec70 100644 --- a/server/controller/GrupoHorario/horariosDia.js +++ b/server/controller/GrupoHorario/horariosDia.js @@ -2,7 +2,7 @@ const moment = require('moment'); const dbPath = '../../db/tablas'; const GrupoHorario = require(`${dbPath}/GrupoHorario`); const Horario = require(`${dbPath}/Horario`); -const hoy = moment().add(14, 'd'); +const hoy = moment(); const horariosDia = async (body) => { const data = []; diff --git a/server/controller/PrimerSemestre/asistencia.js b/server/controller/PrimerSemestre/asistencia.js index 3815344..c52d04f 100644 --- a/server/controller/PrimerSemestre/asistencia.js +++ b/server/controller/PrimerSemestre/asistencia.js @@ -4,7 +4,7 @@ const { validarNumeroCuenta } = require(`${helperPath}/validar`); const dbPath = '../../db/tablas'; const Horario = require(`${dbPath}/Horario`); const PrimerSemestre = require(`${dbPath}/PrimerSemestre`); -const hoy = moment().add(7, 'd'); +const hoy = moment(); const asistencia = async (body) => { const numeroCuenta = validarNumeroCuenta(body.numeroCuenta); diff --git a/server/controller/TercerSemestre/asistencia.js b/server/controller/TercerSemestre/asistencia.js index 777bfbb..3b885c6 100644 --- a/server/controller/TercerSemestre/asistencia.js +++ b/server/controller/TercerSemestre/asistencia.js @@ -5,7 +5,7 @@ const dbPath = '../../db/tablas'; const GrupoHorario = require(`${dbPath}/GrupoHorario`); const Horario = require(`${dbPath}/Horario`); const TercerSemestre = require(`${dbPath}/TercerSemestre`); -const hoy = moment().add(14, 'd'); +const hoy = moment(); const asistencia = async (body) => { const numeroCuenta = validarNumeroCuenta(body.numeroCuenta);