show calendar date and time correctly