Fix the date related bugs in Daily reports