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 réponse
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
répondu il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions