fixed timedelta import for prompt