Only show date+time resolution according to date interval.
E.g. if histogram interval is '1M', only show dates to the month, not the day or time.
Merge pull request #3 from taskrabbit/date_format_scaling

Make date+time resolution based on date interval.