update: fixed datetime editor template

update: fixed bug in edit.tt