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

arabic datepicker not working #2777

Closed
Fattouh92 opened this issue Nov 20, 2016 · 6 comments
Closed

arabic datepicker not working #2777

Fattouh92 opened this issue Nov 20, 2016 · 6 comments

Comments

@Fattouh92
Copy link

setting locale to :ar and using the datepicker results in:

what i tried so far:

  • destroying datepicker object and reinitializing with datepicker locale to en also doesn't set date
  • change rails locale to :en and datepicker works normally
@btazi
Copy link

btazi commented Mar 27, 2017

I have the same problem for the french language, have you found a solution ?

@Preen
Copy link

Preen commented May 16, 2017

+1

@cec
Copy link

cec commented Sep 12, 2017

+1
Using italian locale.
Selected date is displayed properly formatted, but the input field's value is not actually set.

@cec
Copy link

cec commented Sep 14, 2017

I'm hunting down the problem through a dummy app.
I managed to have the picker's value be set on the input.
Still, when editing a record, the value of the input is not shown until the picker is activated once.

The problem seems to stem from how you include your own locale in your app:

  • I wasn't using rails-i18n gem and added locales manually on my own (app is 5 years old atm)
  • Removing my locale files and adding the gem got me a good way forward

@Gonzalo9823
Copy link

Hey! Question how did you fix the problem where the input field's value wasn't set, I'm having the same problem

@mshibuya
Copy link
Member

mshibuya commented Sep 4, 2021

Closed by 01e8d5f .

@mshibuya mshibuya closed this as completed Sep 4, 2021
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

6 participants