This commit is contained in:
Lemuel Marquez
2021-07-22 18:30:00 -05:00
parent 62758847ae
commit 196bad187d
+3 -2
View File
@@ -34,13 +34,14 @@ const get = async (body) => {
nombre: res[i].nombre,
carrera: res[i].Grupo.Carrera.carrera,
grupo: res[i].Grupo.grupo,
horario: `${
dia: `${
horario.date() < 10 ? '0' + horario.date() : horario.date()
}/${
horario.month() + 1 < 10
? '0' + (horario.month() + 1)
: horario.month() + 1
}/${horario.year()} ${
}/${horario.year()}`,
hora: `${
horario.hour() < 10 ? '0' + horario.hour() : horario.hour()
}:${
horario.minute() < 10 ? '0' + horario.minute() : horario.minute()