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
回答済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ