MCPcopy Index your code
hub / github.com/CodeboxIDE/codebox / date

Function date

client/vendors/socket.io.js:672–680  ·  view source on GitHub ↗
(d, key)

Source from the content-addressed store, hash-verified

670 }
671
672 function date(d, key) {
673 return isFinite(d.valueOf()) ?
674 d.getUTCFullYear() + '-' +
675 f(d.getUTCMonth() + 1) + '-' +
676 f(d.getUTCDate()) + 'T' +
677 f(d.getUTCHours()) + ':' +
678 f(d.getUTCMinutes()) + ':' +
679 f(d.getUTCSeconds()) + 'Z' : null;
680 };
681
682 var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
683 escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,

Callers 1

strFunction · 0.85

Calls 1

fFunction · 0.70

Tested by

no test coverage detected