From 99d90aafba06cfe00f5117a30f3e3ce908dc2791 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Wed, 17 Apr 2013 16:39:46 +0200 Subject: [PATCH] Disable l10n for now. fix #400 --- modoboa/core/templates/settings.py | 2 +- modoboa/extensions/postfix_autoreply/forms.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/modoboa/core/templates/settings.py b/modoboa/core/templates/settings.py index 51dae7c3b..ca045444e 100644 --- a/modoboa/core/templates/settings.py +++ b/modoboa/core/templates/settings.py @@ -49,7 +49,7 @@ USE_I18N = True # If you set this to False, Django will not format dates, numbers and # calendars according to the current locale. -USE_L10N = True +USE_L10N = False # If you set this to False, Django will not use timezone-aware datetimes. USE_TZ = True diff --git a/modoboa/extensions/postfix_autoreply/forms.py b/modoboa/extensions/postfix_autoreply/forms.py index 6f254fa7a..4c4420a81 100644 --- a/modoboa/extensions/postfix_autoreply/forms.py +++ b/modoboa/extensions/postfix_autoreply/forms.py @@ -8,8 +8,7 @@ class ARmessageForm(forms.ModelForm): untildate = forms.DateField( label=ugettext_lazy('Until'), required=False, - help_text=ugettext_lazy("Activate your auto reply until this date"), - localize=False + help_text=ugettext_lazy("Activate your auto reply until this date") ) class Meta: