-
Notifications
You must be signed in to change notification settings - Fork 104
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 #1207
Comments
I took a look at flatpickr which is the datepicker library that is used in datetime component, and I found out there's a Jalali support PR already that is made by someone else and it seems to require a review. But the library seems inactive for months. Is that what we are looking for here? Shall we contribute to that project? As an alternative, I was wondering maybe we could create a locale environment variable for modeler. So when it is set to |
@Skaiir How would you recommend handling it? ☝️ |
Any updates? @volodymyr-melnykc @Skaiir |
Is your feature request related to a problem? Please describe.
Yes. The Gregorian calendar - which is currently being used in the datetime component - is not useful in some regions. I request implementing a new component, the Jalali datetime.
Describe the solution you'd like
I recommend using this eye-catching Jalai datetime component which is written in Javascript and can be implemented as a new input component.
Describe alternatives you've considered
Another way to implement this functionality would be to add extra configuration to the existing datetime component. Maybe adding a dropdown to the General section of the properties panel and letting the users choose between Gregorian and Jalali dates.
Additional context
This is the datepicker I intend to implement. I am not sure about the rendering procedure yet though.
The text was updated successfully, but these errors were encountered: