'use strict';

var DateLib = require('../classes/DateLib.cjs');

/**
 * Format the month number for the dropdown option label.
 *
 * @defaultValue The localized month name
 * @group Formatters
 * @see https://daypicker.dev/docs/translation#custom-formatters
 */
function formatMonthDropdown(month, dateLib = DateLib.defaultDateLib) {
    return dateLib.format(month, "LLLL");
}

exports.formatMonthDropdown = formatMonthDropdown;
//# sourceMappingURL=formatMonthDropdown.cjs.map
