Better handling of day changing
Merge pull request #2 from gpmcadam/day-span-fix

Better handling of day changing