Ejemplo con la inspección 250:

Guardado en BD: 2025-12-08 19:11:30+00 (hora de Canarias)
Mostrado en tu cliente: 2025-12-08 16:11:30-03 (convertido a Paraguay, 3 horas menos)
Ambas representan el MISMO momento en el tiempo, solo que en zonas horarias diferentes.

🌍 Resumen del Sistema
Componente	Zona Horaria	Estado
PostgreSQL (almacenamiento)	+00 Atlantic/Canary	 CORRECTO
Backend FastAPI	Atlantic/Canary	 CORRECTO
Frontend (usuario)	Local del navegador	 CORRECTO (convierte automáticamente)
Tu cliente PostgreSQL	-0300 Paraguay	ℹ️ Solo afecta cómo VES las fechas
💡 Conclusión
This commit is contained in:
2025-12-09 00:46:16 -03:00
parent 1b0a50338e
commit 037c4baf1b
6 changed files with 130 additions and 1 deletions

View File

@@ -13,6 +13,8 @@ services:
volumes:
- postgres_data:/var/lib/postgresql/data
- ./init-db.sh:/docker-entrypoint-initdb.d/init-db.sh
- ./postgres-custom.conf:/etc/postgresql/postgresql.conf
command: postgres -c config_file=/etc/postgresql/postgresql.conf
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-checklist_user} -d ${POSTGRES_DB:-checklist_db}"]
interval: 10s