|
|
|
@ -636,33 +636,33 @@ test.describe.skip('Filter Tests: Date & Time related', () => {
|
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
op: 'is', |
|
|
|
|
opSub: 'one week ago', |
|
|
|
|
opSub: 'oneWeekAgo', |
|
|
|
|
rowCount: records.list.filter(r => r[dataType].split('T')[0] === oneWeekAgo).length, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
op: 'is', |
|
|
|
|
opSub: 'one week from now', |
|
|
|
|
opSub: 'oneWeekFromNow', |
|
|
|
|
rowCount: records.list.filter(r => r[dataType].split('T')[0] === oneWeekFromNow).length, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
op: 'is', |
|
|
|
|
opSub: 'one month ago', |
|
|
|
|
opSub: 'oneMonthAgo', |
|
|
|
|
rowCount: records.list.filter(r => r[dataType].split('T')[0] === oneMonthAgo).length, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
op: 'is', |
|
|
|
|
opSub: 'one month from now', |
|
|
|
|
opSub: 'oneMonthFromNow', |
|
|
|
|
rowCount: records.list.filter(r => r[dataType].split('T')[0] === oneMonthFromNow).length, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
op: 'is', |
|
|
|
|
opSub: 'number of days ago', |
|
|
|
|
opSub: 'daysAgo', |
|
|
|
|
value: 45, |
|
|
|
|
rowCount: records.list.filter(r => r[dataType].split('T')[0] === daysAgo45).length, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
op: 'is', |
|
|
|
|
opSub: 'number of days from now', |
|
|
|
|
opSub: 'daysFromNow', |
|
|
|
|
value: 45, |
|
|
|
|
rowCount: records.list.filter(r => r[dataType].split('T')[0] === daysFromNow45).length, |
|
|
|
|
}, |
|
|
|
|