Updated pad_date function to use datetime.date objects instead of tuples.