implement a datetime format hint (#1051)

datetimeFormatHint(): new helper function
renderEditObjectForm(): output a format hint for 'date' attributes