There is no need to do this. Instead just change datepicker.scss so that the display: inline in .datepicker-format has an !important flag (also should remove the unnecessary %datepicker-display-inline and %datepicker-img-display-inline placeholders).