unified dateformats at datepicker and textfield