Closed AmirMahmood closed 3 years ago
Yes, That's true because Django Jalali uses Python Jalali. when you use jDateTimeField
, Django Jalali replaced datetime objects with jdatetime
and 1399-10-11 17:57:18.740070+0330
comes from
python jalali datetime str function.
That would be good to Django DATETIME_FORMAT
to format datetime in Django Jalali.
@AmirMahmood Would you like to work on this?
Currently, I have no idea how to add this feature. :) but I will create PR if I find any suitable solution.
I have a
DateTimeField
witheditable=False
. admin page shows this field like this:but when i change
DateTimeField
tojDateTimeField
, it looks like below:it seems
jDateTimeField
doesn't use django format localization settings likeDATETIME_FORMAT
.