primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.6k stars 4.62k forks source link

Add MomentDateAdapter feature to support Persian(Jalali),Hijri calendars #8706

Closed webnegar closed 2 years ago

webnegar commented 4 years ago

[*] feature request

PrimeNg Calendar does not support Internationalization features to implement Persian(jalali) / Hijri / ... Calendars.

For example Angular material components supports this feature: Internationalization and Setting the selected date

This features is based on this issues in angular repository: Add aditional DateAdapters

Further resources are: Momentjs library and jalali monent github

And finally somone added this feature to Primeng Calendar in this repository: PrimeNg-Persian-Calendar github

But we need native support for this feature in PrimeNg Calendar.

Thanks

gh-mohammadi commented 4 years ago

it's true, please add this feature to primeng calendar

mojganmahmoodian commented 4 years ago

I have this problem tooo,please solve the problem.thanks

mehrta commented 3 years ago

Please redesign p-calendar component to be culture agnostic (like google material date-picker) by writing custom date adapters.

RezaMakvandi commented 3 years ago

Please add Persian(Jalali) calendar to primeng

PooriaShariatzadeh commented 2 years ago

+1 it will be awesome if we have this features on p-calendar

mertsincan commented 2 years ago

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap? Please don't forget to add your feedback as a comment after reopening the issue. These will be taken into account by us and will contribute to the development of this feature. Thanks a lot for your understanding!

Best Regards,

mahmoudparandeh commented 1 year ago

Hi there I cannot find any documentation for that support Persian (Jalali), if you believe you cover this request, please send documentation or something that we can follow for localizing the calendar not in terms of labels but also the date system.

SalehAhmadi commented 9 months ago

Hi there, any update on this? I've searched documents and I couldn't find any info on this. Thanks.