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

date field on rest api dosen't show jalali dates, and it's english #260

Open
amirreza8002 opened this issue Oct 12, 2024 · 1 comment
Open

Comments

@amirreza8002
Copy link

django-jalali 7.1.0 with drf
django 5.1.1

django jalali is set up, the locale is set up and the language is set to fa_IR.

when using the browsable API provided by django rest framework, the date fields have a calender button, but it's in gregorian calendar.

Screenshot from 2024-10-12 20-31-20

@hramezani
Copy link
Collaborator

Thanks @amirreza8002 for reporting the issue.
I think the date time picker widget from django jalali is not supported in DRF. It is only supported in django admin

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