Fix incorrect date-conversion for sunrise and sunset.