diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-15 18:46:26 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-15 18:46:26 +0100 | 
| commit | 7e777fc703836f43ebc7997c7b34060b29d4b8bf (patch) | |
| tree | da24a64f1c9a6805319fd09a502d58d8cdd0ba68 /ishtar_common/forms.py | |
| parent | f0eb032758e4ea558c8bcc0d2dbe672e4913bef3 (diff) | |
| download | Ishtar-7e777fc703836f43ebc7997c7b34060b29d4b8bf.tar.bz2 Ishtar-7e777fc703836f43ebc7997c7b34060b29d4b8bf.zip | |
UI: date widget - force language - improve french translation
Diffstat (limited to 'ishtar_common/forms.py')
| -rw-r--r-- | ishtar_common/forms.py | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py index a92aef548..74965761d 100644 --- a/ishtar_common/forms.py +++ b/ishtar_common/forms.py @@ -260,6 +260,7 @@ class IshtarForm(forms.Form):              if not isinstance(widget, DatePicker):                  continue              lang = translation.get_language() +            widget.options['language'] = lang              if lang in DATE_FORMAT:                  widget.options['format'] = DATE_FORMAT[lang]              if 'autoclose' not in widget.options: | 
