Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateField.php's configuration field "jslocale" doesn't work #3604

Closed
joniahola opened this issue Nov 5, 2014 · 1 comment
Closed

DateField.php's configuration field "jslocale" doesn't work #3604

joniahola opened this issue Nov 5, 2014 · 1 comment

Comments

@joniahola
Copy link

I realised DateField::create("Date")->setConfig("jslocale", "[language]") doesn't work properly. Class "DateField_View_JQuery" have logic to use "jslocale"-property (check getLang-function in DateField.php:599) but the framework never use those lines of code.

Fast fix for bug:
DateField.php:584 if ($this->jqueryLocaleFile) to if ($this->regionalSettingsExist() && $this->jqueryLocaleFile)

@chillu
Copy link
Member

chillu commented Feb 16, 2017

We're "fixing" this in 4.x by removing support for jQuery UI date pickers: #6626

@chillu chillu closed this as completed Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants