fixed up some switch logic that colored far-off dates