Sha256: 11f312fe52faed00b63930d49f84ab5330aa479bd9fe50758ef6f51bc6757136
Contents?: true
Size: 296 Bytes
Versions: 26
Compression:
Stored size: 296 Bytes
Contents
function getTimestamp() { const now = /* @__PURE__ */ new Date(); return [now.getHours(), now.getMinutes(), now.getSeconds()].map(String).map((chunk) => chunk.slice(0, 2)).map((chunk) => chunk.padStart(2, "0")).join(":"); } export { getTimestamp }; //# sourceMappingURL=getTimestamp.mjs.map
Version data entries
26 entries across 26 versions & 1 rubygems