dia hora
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user