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개 답변
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
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인