Sha256: 2c811a2528d7b790b1fac0f5837d485824495c2e1285af4caab1fe7ffc1d51bd

Contents?: true

Size: 722 Bytes

Versions: 26

Compression:

Stored size: 722 Bytes

Contents

{"version":3,"sources":["../../../../src/core/utils/logging/getTimestamp.ts"],"sourcesContent":["/**\n * Returns a timestamp string in a \"HH:MM:SS\" format.\n */\nexport function getTimestamp(): string {\n  const now = new Date()\n\n  return [now.getHours(), now.getMinutes(), now.getSeconds()]\n    .map(String)\n    .map((chunk) => chunk.slice(0, 2))\n    .map((chunk) => chunk.padStart(2, '0'))\n    .join(':')\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,SAAS,eAAuB;AACrC,QAAM,MAAM,oBAAI,KAAK;AAErB,SAAO,CAAC,IAAI,SAAS,GAAG,IAAI,WAAW,GAAG,IAAI,WAAW,CAAC,EACvD,IAAI,MAAM,EACV,IAAI,CAAC,UAAU,MAAM,MAAM,GAAG,CAAC,CAAC,EAChC,IAAI,CAAC,UAAU,MAAM,SAAS,GAAG,GAAG,CAAC,EACrC,KAAK,GAAG;AACb;","names":[]}

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
clapton-0.0.26 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.25 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.24 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.23 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.22 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.21 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.20 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.19 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.18 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.17 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.16 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.15 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.14 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.13 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.12 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.11 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.10 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.9 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.8 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map
clapton-0.0.7 lib/clapton/javascripts/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map