mirror of
https://github.com/lemeow125/Django-NotesApp.git
synced 2025-07-07 12:54:16 +08:00
Fixed timezone for date_created
This commit is contained in:
parent
ec74dbdaf5
commit
5c318d6dbb
6 changed files with 83 additions and 35 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue