1var ecblib = ecblib || {}; 2ecblib.sys = ecblib.sys || {}; 3 4(function() { 5 var _sys = ecblib.sys; 6 7 _sys.formatToSechstantTime = function formatToSechstantTime(epochTime) { 8 var d = new Date(epochTime); 9 var yyyy = d.getFullYear(); 10 var MM = padTwoZero(d.getMonth() + 1); 11 var dd = padTwoZero(d.getDate()); 12 var hh = padTwoZero(d.getHours()); 13 var mm = padTwoZero(d.getMinutes()); 14 var ss = padTwoZero(d.getSeconds()); 15 16 var result = yyyy + '/' + MM + '/' + dd + ' ' + hh + ':' + mm + ':' + ss; 17 return result; 18 }; 19 20 function padTwoZero(src) { 21 var raw = '00' + src; 22 var result = raw.slice(-2); 23 return result; 24 } 25 _sys.padTwoZero = padTwoZero; 26})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.