Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
env:
AZURE_WEBAPP_NAME: Eros
AZURE_WEBAPP_PACKAGE_PATH: '.'
NODE_VERSION: '22.x'
NODE_VERSION: '18.x'

jobs:
build-and-deploy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
env:
AZURE_WEBAPP_NAME: cicero
AZURE_WEBAPP_PACKAGE_PATH: '.'
NODE_VERSION: '22.x'
NODE_VERSION: '18.x'

jobs:
build-and-deploy:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ npm install

El frontend sigue una arquitectura moderna de React con una clara separación de responsabilidades:

![alt text](image.png)
![alt text](images/image.png)

### Estructura de Componentes

Expand Down
6 changes: 5 additions & 1 deletion src/components/popup/AddReservaModal/GenerarReservaForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ const FormGenerarReserva = ({ usuario, onClose , onReservaExitosa }) => {
const reservaData = {
fechaReserva: fechaReserva.toISOString().split("T")[0],
hora: horasDisponibles.find((h) => h.hora === hora).valor,
diaSemana: fechaReserva.toLocaleDateString('es-ES', { weekday: 'long' }).toUpperCase(),
diaSemana: fechaReserva
.toLocaleDateString('es-ES', { weekday: 'long' })
.toUpperCase()
.normalize('NFD')
.replace(/[\u0300-\u036f]/g, ''),
proposito,
materia,
idSalon,
Expand Down