input type date doesn't work in ie

if ( $('[type="date"]').prop('type') != 'date' ) {
    $('[type="date"]').datepicker();
}