yet more bug fix on date stuff in day chart