Fixed error when date field lose focus.

When the date field lose the focus the value is not parsed by
alternative formats.