fixed datetime display and form type