Dapatkan jam dari datetime.timedelta di Python (Django)
def days_hours_minutes(td):
return td.days, td.seconds//3600, (td.seconds//60)%60
Yucky Yak
def days_hours_minutes(td):
return td.days, td.seconds//3600, (td.seconds//60)%60