Adjusts time format to 24-hour basis