adopted-ember-addons / ember-pikaday

A datepicker component for Ember CLI projects.
MIT License
159 stars 169 forks source link

change datepicker to persian datepicker #135

Closed Ahmad-Sobhani closed 7 years ago

Ahmad-Sobhani commented 7 years ago

Hi every body. How i can change date to date picker?? pls help me. i need it. tanx.

duizendnegen commented 7 years ago

Have you tried looking at Pikaday? I am afraid I don't quite understand your question...

Ahmad-Sobhani commented 7 years ago

yes. i can't find persian date mode in pikaday :( i need a persian datepicker in emberjs but doesnt exist. and i want change pikaday to persian pikaday, how can i do this???

stravid commented 7 years ago

@Ahmad-Sobhani are you looking for localization? You can read about it in the readme: https://github.com/edgycircle/ember-pikaday#localization

Ahmad-Sobhani commented 7 years ago

No, I'm looking for a persian(jalali) date picker.

duizendnegen commented 7 years ago

Sorry, this is not the right project for doing so. I would advise either of two things:

  1. try and fork the Pikaday project and adapt the year / date selection function.
  2. adapt https://github.com/cibernox/ember-power-calendar, again the year / date selection function.

The biggest trouble is that sourcing the actual information is from the Javascript date-function and I am not aware of Persian / Jalali support native in JavaScript.

I'm closing this issue as there's no way to in this repository we can integrate this functionality.