@fluentui/react-northstar
Version:
A themable React component library.
14 lines (12 loc) • 324 B
JavaScript
exports.__esModule = true;
exports.formatYear = void 0;
/**
* Format date to a year string representation
* @param date - input date to format
*/
var formatYear = function formatYear(date) {
return date.getFullYear().toString();
};
exports.formatYear = formatYear;
//# sourceMappingURL=formatYear.js.map
;