adding date formats and fixing text input left class