Even more refactoring.
Dirty little hack to make timeline have different colors for month/day/hour granularity.