diff --git a/PyRIGS/formats/__init__.py b/PyRIGS/formats/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/PyRIGS/formats/en/__init__.py b/PyRIGS/formats/en/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/PyRIGS/formats/en/formats.py b/PyRIGS/formats/en/formats.py new file mode 100644 index 00000000..f10454b6 --- /dev/null +++ b/PyRIGS/formats/en/formats.py @@ -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') \ No newline at end of file diff --git a/PyRIGS/settings.py b/PyRIGS/settings.py index 114fb7b2..d9de247d 100644 --- a/PyRIGS/settings.py +++ b/PyRIGS/settings.py @@ -176,6 +176,8 @@ LANGUAGE_CODE = 'en-gb' TIME_ZONE = 'UTC' +FORMAT_MODULE_PATH = 'PyRIGS.formats' + USE_I18N = True USE_L10N = True