Skip to content

Conversation

svermillion
Copy link

An option to display the full month name in the select list (when changeMonth=true), which is more user friendly in some scenarios, such as wider datepickers.

… #8090 - Option to use full month names in selection list
… #8090 - Option to use full month names in selection list.
@scottgonzalez
Copy link
Member

Thanks, but we're not accepting any new features. Datepicker is being rewritten and the size of the API will be reduced.

@dsampaolo
Copy link

... and one year later, we still can't show the months full names. This 4-line patch would have been a real good one.

@erickcg
Copy link

erickcg commented Jan 23, 2015

Wow... I also think this would be good.

@davidpustai
Copy link

👍

@davidpustai
Copy link

You can work it around by extending the whole datepicker.

$.extend($.datepicker, {
    __base__generateMonthYearHeader: $.datepicker._generateMonthYearHeader,
    _generateMonthYearHeader: function (inst, drawMonth, drawYear, minDate, maxDate, secondary, monthNames, monthNamesShort) {
        return $.datepicker.__base__generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate, secondary, monthNames, monthNames);
    }
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants