Added the ability to change the date input format