@multiplayer-app/session-recorder-node
Version:
Multiplayer Fullstack Session Recorder for Node.js
15 lines • 467 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getFormattedDate = void 0;
const getFormattedDate = (date, options) => {
return new Date(date).toLocaleDateString('en-US', options || {
month: 'short',
year: 'numeric',
day: 'numeric',
hour: 'numeric',
minute: '2-digit',
second: '2-digit',
});
};
exports.getFormattedDate = getFormattedDate;
//# sourceMappingURL=helper.js.map