'use strict';

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

/**
 * The ARIA label for the Weekday column header.
 *
 * @defaultValue `"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"`
 * @group Labels
 * @see https://daypicker.dev/docs/translation#aria-labels
 */
function labelWeekday(date, options, dateLib) {
    return (dateLib ?? new DateLib.DateLib(options)).format(date, "cccc");
}

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