parseFormats

Array which contains list of date formats used to parse the value set with value() method or by direct typed user input. The default value is: ["MMMM yyyy"]. If the entered string does not match any of the provided format the null will be set as a selected date.


<input id="picker" ></input>

<script type="text/javascript">
    $(function () {
        $("#picker").shieldMonthYearPicker({
            parseFormats: ["MM.yyyy", "MM/yyyy", "MMMM yyyy"]
        });
    });
</script>