viewer/molochparser.js
// date, you want everything that happen from 0ms-1000ms, not just at 0ms
date, you want everything that happen from 0ms-1000ms, not just at 0ms
date you want everything that happen from 0ms - 1000ms not just at 0ms
function termOrTermsDate (dbField, str) {
  if (isArrayFull(str)) {
    const items = []
    ListToArray(str).forEach(function (astr) {
      const d = moment.unix(parseSeconds(stripQuotes(astr))).format();
      const r = { range: {} };
      r.range[dbField] = { gte: d, lte: d };
      items.push(r);
    });
    if (isArrayAND(str)) {
      return { bool: { filter: items } };
    } else {
      return { bool: { should: items } };
    }
  }
  const d = moment.unix(parseSeconds(stripQuotes(str))).format();
  const obj = { range: {} };
  obj.range[dbField] = { gte: d, lte: d };
  return obj;
}
function termOrTermsDate ( dbField , str ) { if ( isArrayFull ( str ) ) { const items = [ ] ListToArray ( str ) . forEach ( function ( astr ) { const d = moment . unix ( parseSeconds ( stripQuotes ( astr ) ) ) . format ( ) ; const r = { range : { } } ; r . range [ dbField ] = { gte : d , lte : d } ; items . push ( r ) ; } ) ; if ( isArrayAND ( str ) ) { return { bool : { filter : items } } ; } else { return { bool : { should : items } } ; } } const d = moment . unix ( parseSeconds ( stripQuotes ( str ) ) ) . format ( ) ; const obj = { range : { } } ; obj . range [ dbField ] = { gte : d , lte : d } ; return obj ; }
date, you want everything that happen from 0ms-1000ms, not just at 0ms
date you want everything that happen from 0ms - 1000ms not just at 0ms