UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

14 lines (11 loc) 264 B
// eslint-disable-next-line import/prefer-default-export export function formatDate(value, format) { if (!value) { return ''; } if (Array.isArray(format)) { format = format[0]; } return value.format(format); } //# sourceMappingURL=utils.js.map