change date and timezone to iran format

This commit is contained in:
2026-10-14 09:03:54 +03:30
parent 6fe5cf6bc3
commit fd89086d22
7 changed files with 157 additions and 5 deletions
+4 -1
View File
@@ -133,7 +133,10 @@ AUTH_PASSWORD_VALIDATORS = [
]
LANGUAGE_CODE = "en-us"
TIME_ZONE = "UTC"
# Iran Standard Time. Dates are rendered to users as Jalali, so the backend must
# agree with the frontend on what "today" and a timestamp's wall clock mean —
# otherwise a slot booked at 09:00 Tehran reads as 04:30 on the day it shifts.
TIME_ZONE = env("TIME_ZONE", "Asia/Tehran")
USE_I18N = True
USE_TZ = True