Skip to content

Display date in english font just for input not calendar #334

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

Open
Mohammadreza-Sarvari opened this issue Feb 11, 2025 · 0 comments
Open

Comments

@Mohammadreza-Sarvari
Copy link

Mohammadreza-Sarvari commented Feb 11, 2025

When I set persian_en for the locale prop in DatePicker, both the calendar and input show the date in English mode while I want this just for input, not the calendar. For this reason, I have to use a render prop to handle this manually. So, I consider it can be useful if we provide a prop for this purpose. If you agree with me, I can fix it.

locale={persian_fa}:
Image

locale={persian_en}:
Image

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

1 participant