Time is changed to hour in graphs