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 個月前檢視次數 172 次
1 個回答
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
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南