account for a single rain event at midnight, fixes #6