changing hour format in graph