def _delta_time(self, date_time):
now = datetime.datetime.now(tzlocal())<EOL>diff = date_time - now<EOL>days = int(diff.days)<EOL>hours = int(diff.seconds / <NUM_LIT>)<EOL>minutes = int((diff.seconds / <NUM_LIT>) - (hours * <NUM_LIT>)) + <NUM_LIT:1><EOL>total_minutes = int((diff.seconds / <NUM_LIT>) + (days * <NUM_LIT> * <NUM_LIT>)) + <NUM_LIT:1><EOL>return {<EOL>"<STR_LIT>": days,<EOL>"<STR_LIT>": hours,<EOL>"<STR_LIT>": minutes,<EOL>"<STR_LIT>": total_minutes,<EOL>}<EOL>
Returns in a dict the number of days/hours/minutes and total minutes
until date_time.