Formatting
Fix year-boundary issue with custom date ranges on graphs. Closes #2062