Use more than the day to see if we need to print a date header.
Fixes #58.