Fix mixing datetime.timedelta import