From 073e068ddf1563a806ae9e68eb5a0c5d673aa9c1 Mon Sep 17 00:00:00 2001 From: Guillaume Beraudo Date: Tue, 22 May 2018 17:41:57 +0200 Subject: [PATCH] Depend on datepicker locales (uk, de, fr, it) --- src/misc/datepickerComponent.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/misc/datepickerComponent.js b/src/misc/datepickerComponent.js index 7f12139e1d8d..933558f11bed 100644 --- a/src/misc/datepickerComponent.js +++ b/src/misc/datepickerComponent.js @@ -7,6 +7,12 @@ import ngeoMiscTime from 'ngeo/misc/Time.js'; import 'angular-ui-date'; import 'jquery-ui/themes/base/all.css'; +// FIXME: import the locales in the applications +import 'jquery-ui/ui/i18n/datepicker-fr.js'; +import 'jquery-ui/ui/i18n/datepicker-en-GB.js'; +import 'jquery-ui/ui/i18n/datepicker-de.js'; +import 'jquery-ui/ui/i18n/datepicker-it.js'; + /** * @type {!angular.Module}