There's no reason / need to check for uiDateFormat since this affects only the model value and won't / shouldn't be used without uiDate, right?