@fluentui/react-northstar
Version:
A themable React component library.
10 lines (9 loc) • 346 B
JavaScript
/**
* Format date to a month-day-year string
* @param date - input date to format
* @param strings - localized strings
*/
export var formatMonthDayYear = function formatMonthDayYear(date, strings) {
return strings.months[date.getMonth()] + " " + date.getDate() + ", " + date.getFullYear();
};
//# sourceMappingURL=formatMonthDayYear.js.map