UNPKG

@grafana/faro-core

Version:
16 lines 528 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.timestampToIsoString = exports.getCurrentTimestamp = exports.dateNow = void 0; function dateNow() { return Date.now(); } exports.dateNow = dateNow; function getCurrentTimestamp() { return new Date().toISOString(); } exports.getCurrentTimestamp = getCurrentTimestamp; function timestampToIsoString(value) { return new Date(value).toISOString(); } exports.timestampToIsoString = timestampToIsoString; //# sourceMappingURL=date.js.map