Difference between Code Timezone and server Timezone

0

Hi, im currently using lightsail servers to deploy web solutions. Using Python and Django. Even if i set the program and database to our timezone (Chilean timezone) the records are still having a 3 hour delay (We think it might be the server time)

Our current solution to this is mannualy change the Querys regarding recording time in our database.

So, the question is: ¿Has anyone encounter this problem before? how do you mange to solve it?

1 Respuesta
0

Hello,

Without further information about your application and system configuration, I cannot provide specific advice. I did find this Django documentation regarding time zone configuration and handling time zones in your application which might help narrow down the problem you are facing:

https://docs.djangoproject.com/en/5.0/topics/i18n/timezones/

AWS
jscta
respondido hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas