added format validation for TimePicker