Changing logging times to 24-hour