@digital-ai/plugin-dai-deploy
Version:
Frontend functionalities for the dai-deploy backstage plugin
10 lines (7 loc) • 410 B
JavaScript
import moment from 'moment';
const genericDateFormat = "MMM D, YYYY";
const genericTimeFormat = "h:mm A";
const genericTimestampFormat = `${genericDateFormat} - ${genericTimeFormat}`;
const formatTimestamp = (arg) => arg ? moment(arg).format(genericTimestampFormat) : "";
export { formatTimestamp, genericDateFormat, genericTimeFormat, genericTimestampFormat };
//# sourceMappingURL=dateTimeUtils.esm.js.map