-
Notifications
You must be signed in to change notification settings - Fork 491
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
Jalali calendar support for form date-time element #4308
Comments
I'd be grateful if you guys keep me informed of this issue. It's of high importance for my organization. |
@okaeiz Consider to contribute if this is important for your organization. |
Could you please tell me where I can find the codes related to the components' definition? I checked everything under |
I have created this Jalali Calendar custom component: JalaliCalendar.mp4Is it worth creating a PR in form-js? |
Please feel free to open a PR to https://github.com/bpmn-io/form-js so that the team can evaluate it. |
Since there already exists a datepicker, is it okay to add another datepicker or we should modify the existing one? |
@nikku and I have reached out to the form-js team internally, so you will get an answer soon. |
Problem you would like to solve
Since Camunda is becoming the first choice for business process management, and we are located in a region where the main calendar is Jalali (not Gregorian), including date-time elements in our forms requires our users to take a considerable time converting these dates. Although this can be handled by using middleware scripts in database transactions or other use cases, it is not worth the effort. It takes time and energy.
It'd be great if date-time element had an option to change the calendar when needed.
Proposed solution
I guess the easiest way of implementation is to add an option to the date-time properties panel using which the users can switch the calendar between Jalali and Gregorian.
Alternatives considered
Another option would be to set this preference in the form properties panel. There's another FR which proposes the support for right-to-left languages and it seemed like a good idea to implement this option in the form properties, rather than for each element separately.
Therefore, the date settings may be implemented there as well.
Additional context
I'd be glad if I could contribute in i18n and localization (string translation and visual improvements).
The text was updated successfully, but these errors were encountered: