change date and timezone to iran format
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user