Closed mshzsh closed 1 year ago
Thanks @mshzsh for reporting!
I've created https://github.com/slashmili/django-jalali/pull/201 to fix the problem. Please take a look and test it if you have time.
Yes, I tested the changes of this commit and the problem was solved, thank you @hramezani . Due to the problems that have arisen in some of our projects, we are impatiently waiting for the new force update.
Thanks @hramezani
The changes are pushed https://pypi.org/project/django-jalali/6.0.1/
serilizers.py :
models.py :
input data :
1401-6-31 00:00
error :
Enter a valid date/time in YYYY-MM-DD HH:MM[:ss[.uuuuuu]] format.
But it works correctly with date
1401-6-30 00:00