Private
Public Access
1
0

fixing date issues

This commit is contained in:
Sander Roosendaal
2020-05-08 16:41:08 +02:00
parent 9e672ef44d
commit f3a62408e3

View File

@@ -201,7 +201,17 @@ AUTH_PASSWORD_VALIDATORS = [
USE_I18N = True
USE_L10N = True
USE_L10N = False
DATE_INPUT_FORMATS = [
'%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', # '2006-10-25', '10/25/2006', '10/25/06'
'%b %d %Y', '%b %d, %Y', # 'Oct 25 2006', 'Oct 25, 2006'
'%d %b %Y', '%d %b, %Y', # '25 Oct 2006', '25 Oct, 2006'
'%B %d %Y', '%B %d, %Y', # 'October 25 2006', 'October 25, 2006'
'%d %B %Y', '%d %B, %Y', # '25 October 2006', '25 October, 2006'
]
DATE_FORMAT = 'Y-m-d'
USE_TZ = True
TIME_ZONE = 'UTC'