kopia lustrzana https://github.com/wagtail/wagtail
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 :-)pull/3797/merge
rodzic
2cba1b13bf
commit
f7024a4193
|
@ -10,6 +10,7 @@ Changelog
|
|||
* Fix: Inline panel first and last sorting arrows correctly hidden in non-default tabs (Matt Westcott)
|
||||
* Fix: `WAGTAILAPI_LIMIT_MAX` now accepts None to disable limiting (jcronyn)
|
||||
* Fix: In PostgreSQL, new default ordering when ranking of objects is the same (Bertrand Bordage)
|
||||
* Fix: Enabled translations within date-time chooser widget (Lucas Moeskops)
|
||||
|
||||
|
||||
1.12 LTS (21.08.2017)
|
||||
|
|
|
@ -25,6 +25,7 @@ Bug fixes
|
|||
* Inline panel first and last sorting arrows correctly hidden in non-default tabs (Matt Westcott)
|
||||
* ``WAGTAILAPI_LIMIT_MAX`` now accepts None to disable limiting (jcronyn)
|
||||
* In PostgreSQL, new default ordering when ranking of objects is the same (Bertrand Bordage)
|
||||
* Enabled translations within date-time chooser widget (Lucas Moeskops)
|
||||
|
||||
|
||||
Upgrade considerations
|
||||
|
|
|
@ -86,7 +86,7 @@ function initDateTimeChooser(id, opts) {
|
|||
i18n: {
|
||||
lang: window.dateTimePickerTranslations
|
||||
},
|
||||
language: 'lang',
|
||||
lang: 'lang',
|
||||
onGenerate: hideCurrent
|
||||
}, opts || {}));
|
||||
} else {
|
||||
|
|
Ładowanie…
Reference in New Issue