Fix the algorithm to compute the sunrise and sunset *after* a date-time.