radix-vue / shadcn-vue

Vue port of shadcn-ui

Home Page:https://www.shadcn-vue.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature]: jalali calander/date-picker

mehrabix opened this issue · comments

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.

@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

Thanks @sadeghbarati it works for me.

Great, feel free to close the issue 🙌