Fixed wrong argument for datetimechooser widget

The argument for specifying the language of the DateTimeChooser is wrong, which makes it impossible to customise the language. Compare for reference the argument specification for the DateChooser and the TimeChooser :-)
This commit is contained in:
Lucas Moeskops 2017-08-24 22:38:39 +02:00 committed by Matt Westcott
parent 95f41fd90c
commit 9d14d4ad74
3 changed files with 7 additions and 5 deletions

View file

@ -4,8 +4,9 @@ Changelog
1.12.1 (xx.xx.20xx) - IN DEVELOPMENT
~~~~~~~~~~~~~~~~~~~
* Fix: Prevent home page draft title from displaying as blank (Mikalai Radchuk, Matt Westcott)
* Fix: Fix regression on styling of preview button with more than one preview mode (Jack Paine)
* Fix: Prevent home page draft title from displaying as blank (Mikalai Radchuk, Matt Westcott)
* Fix: Fix regression on styling of preview button with more than one preview mode (Jack Paine)
* Fix: Enabled translations within date-time chooser widget (Lucas Moeskops)
1.12 LTS (21.08.2017)

View file

@ -13,5 +13,6 @@ What's new
Bug fixes
~~~~~~~~~
* Prevent home page draft title from displaying as blank (Mikalai Radchuk, Matt Westcott)
* Fix regression on styling of preview button with more than one preview mode (Jack Paine)
* Prevent home page draft title from displaying as blank (Mikalai Radchuk, Matt Westcott)
* Fix regression on styling of preview button with more than one preview mode (Jack Paine)
* Enabled translations within date-time chooser widget (Lucas Moeskops)

View file

@ -86,7 +86,7 @@ function initDateTimeChooser(id, opts) {
i18n: {
lang: window.dateTimePickerTranslations
},
language: 'lang',
lang: 'lang',
onGenerate: hideCurrent
}, opts || {}));
} else {