only set time format if a known time format is available