import { dateLib } from '../lib/dateLib.js';

/**
 * Format the day date shown in the day cell.
 *
 * @defaultValue `d` (e.g. "1")
 * @group Formatters
 * @see https://daypicker.dev/docs/translation#custom-formatters
 */
function formatDay(date, options, 
/** @ignore */
dateLib$1 = dateLib) {
    return dateLib$1.format(date, "d", options);
}

export { formatDay };
//# sourceMappingURL=formatDay.js.map
