(Go: >> BACK << -|- >> HOME <<)

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

[Feature]: jalali calander/date-picker #588

Closed
2 tasks
mehrabix opened this issue Jun 3, 2024 · 3 comments
Closed
2 tasks

[Feature]: jalali calander/date-picker #588

mehrabix opened this issue Jun 3, 2024 · 3 comments

Comments

@mehrabix
Copy link
mehrabix commented Jun 3, 2024

Describe the feature

Hi, I need to use calander or date picker in a persian app which needs to be jalali calander but at this moment shadcn just supports gregorian.

Additional information

  • I intend to submit a PR for this feature.
  • I have already implemented and/or tested this feature.
@sadeghbarati
Copy link
Collaborator
sadeghbarati commented Jun 3, 2024

@mehrabix Hi

Current Calendar or DatePickers are based on

React Aria and Internationalized Date packages

It's has support for 13 Calendar System, including Jalali/Khorshidi

Check radix-vue and @internationalized/date documentation

https://www.radix-vue.com/components/calendar.html#calendar-with-locale-and-calendar-system-selection

https://react-spectrum.adobe.com/internationalized/date/index.html

@mehrabix
Copy link
Author
mehrabix commented Jun 3, 2024

Thanks @sadeghbarati it works for me.

@sadeghbarati
Copy link
Collaborator

Great, feel free to close the issue 🙌

@mehrabix mehrabix closed this as completed Jun 3, 2024
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