تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1553 أدوات العرض

I want to import datetime inside rules but i cant

 def last_day_of_month(date_value):
return date_value.replace(day = monthrange(date_value.year, date_value.month)[1])

result = last_day_of_month(payslip.date_from)



الصورة الرمزية
إهمال