mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-18 05:52:15 +00:00
Set default date formats
This commit is contained in:
0
PyRIGS/formats/__init__.py
Normal file
0
PyRIGS/formats/__init__.py
Normal file
0
PyRIGS/formats/en/__init__.py
Normal file
0
PyRIGS/formats/en/__init__.py
Normal file
5
PyRIGS/formats/en/formats.py
Normal file
5
PyRIGS/formats/en/formats.py
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
DATETIME_FORMAT = ('d/m/Y H:i')
|
||||||
|
DATE_FORMAT = ('d/m/Y')
|
||||||
|
TIME_FORMAT = ('H:i')
|
||||||
@@ -176,6 +176,8 @@ LANGUAGE_CODE = 'en-gb'
|
|||||||
|
|
||||||
TIME_ZONE = 'UTC'
|
TIME_ZONE = 'UTC'
|
||||||
|
|
||||||
|
FORMAT_MODULE_PATH = 'PyRIGS.formats'
|
||||||
|
|
||||||
USE_I18N = True
|
USE_I18N = True
|
||||||
|
|
||||||
USE_L10N = True
|
USE_L10N = True
|
||||||
|
|||||||
Reference in New Issue
Block a user