Fixed timezone for date_created

This commit is contained in:
Keannu Christian Bernasol 2023-03-04 22:07:34 +08:00
parent ec74dbdaf5
commit 5c318d6dbb
6 changed files with 83 additions and 35 deletions

View file

@ -11,6 +11,7 @@ https://docs.djangoproject.com/en/4.1/ref/settings/
"""
from pathlib import Path
import pytz
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
@ -112,7 +113,7 @@ AUTH_PASSWORD_VALIDATORS = [
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
TIME_ZONE = 'Asia/Manila'
USE_I18N = True