From c13ba5fa90473302c6821c89cd95c2371f06a1b0 Mon Sep 17 00:00:00 2001 From: Christian Wiegand Date: Tue, 11 Oct 2016 10:50:20 +0200 Subject: [PATCH] Moved the DATETIME_FORMATS dictionary to from modoboa/core/constants.py to modoboa_webmail/imapheaders.py to seperate plugins from modoboa core. --- modoboa/core/constants.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/modoboa/core/constants.py b/modoboa/core/constants.py index 3b0a7eca8..8adce607f 100644 --- a/modoboa/core/constants.py +++ b/modoboa/core/constants.py @@ -38,24 +38,6 @@ LANGUAGES = ( ) -# according to https://en.wikipedia.org/wiki/Date_format_by_country -# and https://en.wikipedia.org/wiki/Date_and_time_representation_by_country -DATETIME_FORMATS = { - "cs": {'SHORT': 'l, H:i', 'LONG': 'd. N Y H:i'}, - "de": {'SHORT': 'l, H:i', 'LONG': 'd. N Y H:i'}, - "en": {'SHORT': 'l, P', 'LONG': 'N j, Y P'}, - "es": {'SHORT': 'l, H:i', 'LONG': 'd. N Y H:i'}, - "fr": {'SHORT': 'l, H:i', 'LONG': 'd. N Y H:i'}, - "it": {'SHORT': 'l, H:i', 'LONG': 'd. N Y H:i'}, - "ja_JP": {'SHORT': 'l, P', 'LONG': 'N j, Y P'}, - "nl": {'SHORT': 'l, H:i', 'LONG': 'd. N Y H:i'}, - "pt_PT": {'SHORT': 'l, H:i', 'LONG': 'd. N Y H:i'}, - "pt_BR": {'SHORT': 'l, H:i', 'LONG': 'd. N Y H:i'}, - "ru": {'SHORT': 'l, H:i', 'LONG': 'd. N Y H:i'}, - "sv": {'SHORT': 'l, H:i', 'LONG': 'd. N Y H:i'}, - -} - LDAP_GROUP_TYPES = ( ("posixgroup", "PosixGroup"), ("groupofnames", "GroupOfNames"),