0.12.20 timezone in chat messages
This commit is contained in:
@@ -126,6 +126,7 @@ MIDDLEWARE = [
|
||||
'django.contrib.messages.middleware.MessageMiddleware',
|
||||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
'AuthApp.middleware.ResponseInterceptionMiddleware',
|
||||
'GeneralApp.tz_middelware.TimezoneMiddleware',
|
||||
|
||||
"allauth.account.middleware.AccountMiddleware",
|
||||
]
|
||||
@@ -220,11 +221,11 @@ TIME_ZONE = 'Europe/Minsk'
|
||||
|
||||
USE_I18N = True
|
||||
|
||||
# USE_TZ = True
|
||||
USE_TZ = True
|
||||
|
||||
USE_L10N = True
|
||||
|
||||
USE_TZ = False
|
||||
# USE_TZ = False
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/4.2/howto/static-files/
|
||||
|
||||
Reference in New Issue
Block a user