Skip to content

Commit

Permalink
feat: update date time format
Browse files Browse the repository at this point in the history
  • Loading branch information
vncsna committed Feb 6, 2024
1 parent 1cc6abb commit 11d2a00
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion bd_api/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@
},
]

# DateTime
# https://docs.djangoproject.com/en/4.2/ref/settings/
USE_L10N = False
DATETIME_FORMAT = "Y/m/d G:i:s"

# Internationalization
# https://docs.djangoproject.com/en/4.1/topics/i18n/
Expand All @@ -137,7 +141,12 @@

# Silence system checks
# https://docs.djangoproject.com/en/4.2/ref/settings/#silenced-system-checks
SILENCED_SYSTEM_CHECKS = ["djstripe.I001", "djstripe.I002", "djstripe.I006", "djstripe.W005"]
SILENCED_SYSTEM_CHECKS = [
"djstripe.I001",
"djstripe.I002",
"djstripe.I006",
"djstripe.W005",
]

# Logging # https://docs.djangoproject.com/en/4.2/ref/settings/#silenced-system-checks
LOGGING = {"version": 1}
Expand Down

0 comments on commit 11d2a00

Please sign in to comment.