Changes metadata date

how to change the date textarea in the metadata is replaced by the automatic display of date input instead of textarea. I have a hard time finding the code where?