I would suggest to make the `start_date` parameter optional and use calls like `to_seconds_of_day(some_time, start=flight.start_date)`. It should also be documented that this function expects `start_date` to be a `datetime` and not a `date` or make the function handle both types properly.