fixed datepicker format and other small changes