-
Notifications
You must be signed in to change notification settings - Fork 154
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
Modification of the option "language" to "locale" #48
Comments
Any thoughts on how to fix this issue in a way that's source control friendly until your lovely fix is merged in? |
The only way that I found is to do what I did that is in my repository, get
|
could you submit a PR for this? |
I already did if I'm not wrong, but I dont think that this plugin is still
|
Hello? Is this still on? Why do all django-datetimewidget-whatevers decide to add unnecessary or weird unacceptable stuff to js-library-options all over the place? That is some weird trend, sorry... |
In the newer versions the option language has been renamed to locale, causing problems when rendering the script. I think that the only thing you have to do to solve this issue is change the key 'language' in your widgets.py for 'locale'. At line 103.
Going from this: self.options['language'] = translation.get_language()
to this: self.options['locale'] = translation.get_language()
The text was updated successfully, but these errors were encountered: